1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-24 01:22:18 -05:00

finally commit all the packages

This commit is contained in:
Travis Burtrum 2023-03-20 01:05:43 -04:00
parent fae0f9500a
commit c24dbbec3e
34 changed files with 1372 additions and 41 deletions

47
src/aranym/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
# Maintainer : chrisl echo archlinux@c2h0r1i2s4t5o6p7h8e9r-l3u4n1a.com|sed 's/[0-9]//g'
# Contributor: Margot Xara <xara.margot@gmail.com>
# Contributor Daniel Illgen <daniel.illgen@googlemail.com>
# Contributor: Christer Solskogen <solskogen@carebears.mine.nu>
# Contributor: Giovanni Condello <condellog@gmail.com>
pkgname=aranym
pkgver=1.1.0
pkgrel=2
pkgdesc="Atari Running on Any Machine"
url="https://aranym.github.io"
depends=('gcc-libs' 'bash' 'sdl_image' 'mpfr')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz)
md5sums=('876eeadc81c16ee30717503a7b4f55b5')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-jit-compiler --enable-nfjpeg
make
mv aranym aranym-jit
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-fullmmu --enable-lilo --enable-fixedvideoram --enable-nfjpeg
make
mv aranym aranym-mmu
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --disable-nat-debug --enable-nfjpeg
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install aranym-jit "$pkgdir"/usr/bin
install aranym-mmu "$pkgdir"/usr/bin
install aratapif "$pkgdir"/usr/bin
install -D contrib/icon-32.png \
${pkgdir}/usr/share/pixmaps/aranym.png
install -D contrib/aranym.desktop \
${pkgdir}/usr/share/applications/aranym.desktop
}

31
src/cachefilesd/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Contributor: Mantas Mikulėnas <grawity@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
pkgname=cachefilesd
pkgver=0.10.10
pkgrel=1
pkgdesc="Userspace daemon acting as a backend for FS-Cache"
arch=('i686' 'x86_64')
url="https://people.redhat.com/~dhowells/fscache/"
license=('GPL')
depends=('glibc')
source=(https://people.redhat.com/~dhowells/fscache/${pkgname}-${pkgver}.tar.bz2
cachefilesd.service)
sha256sums=('0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02'
'29a6110608dda5b13549bdf6975307151643d203455c0fd3f3707272df5850ac')
backup=(etc/cachefilesd.conf)
build() {
cd "$pkgname-$pkgver"
make CFLAGS="$CFLAGS"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
# at least Type=forking provides a ready notification
install -D -m 644 "$srcdir/cachefilesd.service" "$pkgdir/usr/lib/systemd/system/cachefilesd.service"
}
# vim: ts=2:sw=2:et:nowrap

44
src/coda/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
# Maintainer Brian Bidulock <bidulock@openss7.org>
pkgname=coda
pkgver=8.1.3
pkgrel=2
pkgdesc="A distributed file system with disconnected operation."
depends=('bash' 'perl' 'python' 'python-attrs' 'python-setuptools')
arch=(i686 x86_64 armv7h)
url="http://coda.cs.cmu.edu/"
source=("http://coda.cs.cmu.edu/coda/source/$pkgname-$pkgver.tar.xz")
sha512sums=('04bae335d4a85e0b0ba5a5577a4c4b424e7ceb0b5f1a7d9346bbae6876b12ebdb53408eeee43d520051df74bc6187c91f1906d569172e60a6e83b6ae16eefde2')
license=("GPL")
prepare() {
cd $pkgname-$pkgver
for f in al/pdbtool.c al/pdbtool.8 al/pdb.h al/Makefile.am auth2/passwd.coda.5 scripts/vice-setup-user.in ; do
sed -i -e 's,pdbtool,cpdbtool,g' coda-src/$f
sed -i -e 's,PDBTOOL,CPDBTOOL,g' coda-src/$f
done
mv coda-src/al/pdbtool.c coda-src/al/cpdbtool.c
mv coda-src/al/pdbtool.8 coda-src/al/cpdbtool.8
sed -i -e 's,^LDFLAGS=,,' lib-src/rpc2/rp2gen/Makefile.am
./bootstrap.sh
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--datadir=/usr/share \
--includedir=/usr/include \
--enable-client \
--enable-server
sed -i -e 's/ -shared / -Wl,-O1,--sort-common,--as-needed,-pie,-z,relro,-z,now \0/g' libtool
make V=1
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}

32
src/corectrl/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Sergey Kostyuchenko <derfenix@gmail.com>
pkgname=corectrl
pkgver=1.1.0
pkgrel=4
pkgdesc="Core control application"
url="https://gitlab.com/corectrl/corectrl"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('procps-ng' 'hwids' 'karchive' 'kauth' 'qt5-charts' 'qt5-quickcontrols2' 'qt5-base>=5.9' 'botan>=2.2.0' 'qt5-svg' 'qt5-xmlpatterns')
makedepends=('cmake>=3.3' 'qt5-tools' 'karchive' 'gcc>=8' 'extra-cmake-modules')
optdepends=(
'vulkan-tools: For vulkaninfo'
'mesa-demos: For glxinfo',
'util-linux: For lscpu'
)
source=("https://gitlab.com/corectrl/corectrl/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2")
sha512sums=('fdc050a78cbaa7a532b52198aa410d999b4c9a7b477dae35bb55352b0c0cd49fe951b46f3924ff6ef3cd4bb7acdd06eae74faa006c4e5ca6c9a607f2f10a9248')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr/" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
make ${MAKEFLAGS}
}
package() {
cd "${srcdir}/${pkgname}-v${pkgver}/build"
sed -i -- 's/\/usr/${CMAKE_INSTALL_PREFIX}/g' src/helper/cmake_install.cmake
make install
}

View File

@ -2,13 +2,17 @@
# Contributor: svalo <me@valo.space> # Contributor: svalo <me@valo.space>
pkgname=dino-git pkgname=dino-git
pkgver=v0.2.0.r143.g905f93bc pkgver=v0.4.0.r0.g5568bbc6
pkgrel=1 pkgrel=1
pkgdesc="Simple and modern Jabber/XMPP client written in vala" pkgdesc="Simple and modern Jabber/XMPP client written in vala"
arch=('i686' 'x86_64' 'aarch64') arch=('i686' 'x86_64' 'aarch64')
url="https://dino.im/" url="https://dino.im/"
license=('GPL3') license=('GPL3')
depends=('glib2>=2.38' 'glib-networking' 'gtk3>=3.22' 'gpgme' 'libgee>=0.10' 'libgcrypt' 'libsoup' 'sqlite' 'qrencode' 'libsignal-protocol-c' 'gspell' gstreamer gst-plugins-base gst-plugins-good gst-plugin-gtk webrtc-audio-processing libnice libsrtp ) depends=('glib2>=2.38' 'glib-networking' 'gtk4' 'gpgme'
'libgee>=0.10' 'libgcrypt' 'libsoup3' 'sqlite' 'qrencode'
'libsignal-protocol-c' 'gspell' 'gst-plugins-base'
'gst-plugins-good' 'gst-plugin-gtk' 'webrtc-audio-processing'
'libnice' 'libsrtp' libadwaita)
makedepends=('git' 'cmake' 'vala>=0.34' 'ninja' ttf-liberation) makedepends=('git' 'cmake' 'vala>=0.34' 'ninja' ttf-liberation)
optdepends=('libcanberra: audio notification support') optdepends=('libcanberra: audio notification support')
provides=("${pkgname%-git}") provides=("${pkgname%-git}")
@ -18,7 +22,7 @@ sha512sums=('SKIP')
### Any or all of the following plugin can be disabled: omemo, openpgp, http-files. Populate following string as per your needs and uncomment it. ### Any or all of the following plugin can be disabled: omemo, openpgp, http-files. Populate following string as per your needs and uncomment it.
# _DISABLE_PLUGINS="--disable-plugin='omemo;openpgp;http-files'" # _DISABLE_PLUGINS="--disable-plugin='omemo;openpgp;http-files;ice'"
### Any or all of the following plugin can be enabled: notification-sound. Populate the following string as per you needs and uncomment it. ### Any or all of the following plugin can be enabled: notification-sound. Populate the following string as per you needs and uncomment it.
### Install any needed optional dependency before ### Install any needed optional dependency before
@ -36,7 +40,6 @@ pkgver() {
build() { build() {
cd "${srcdir}/${pkgname%-git}" cd "${srcdir}/${pkgname%-git}"
./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --with-tests --prefix="/usr" CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS" ./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --with-tests --prefix="/usr" CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
sed -i 's/try{/try{\n GLib.Environment.set_variable("GDK_DPI_SCALE", "1.5", false);/' main/src/main.vala
make make
} }

27
src/electrs/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
pkgname=electrs
pkgver=0.9.12
pkgrel=1
pkgdesc="An efficient re-implementation of Electrum Server in Rust"
arch=(x86_64)
url="https://github.com/romanz/electrs"
license=('MIT')
depends=('gcc-libs')
makedepends=('git' 'clang' 'cmake' 'rust')
source=("git+https://github.com/romanz/electrs.git#tag=v$pkgver")
md5sums=('SKIP')
build() {
cd "$pkgname"
cargo build --release --locked
}
check() {
cd "$pkgname"
cargo test --release --locked
}
package() {
cd "$pkgname"
install -Dm755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

46
src/flacon/PKGBUILD Normal file
View File

@ -0,0 +1,46 @@
# Maintainer: ValHue <vhuelamo at gmail dot com>
#
# Contributor: satanselbow <igdfpm at gmail dot com>
# Contributor: Artem Sereda <overmind88 at gmail dot com>
#
pkgname="flacon"
pkgver="9.0.0"
pkgrel="1"
pkgdesc="An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks."
arch=('i686' 'x86_64' 'aarch64')
url="https://flacon.github.io/"
_url="https://github.com/${pkgname}"
license=('LGPL2.1')
makedepends=('cmake' 'icu' 'qt5-tools')
depends=('hicolor-icon-theme' 'qt5-base' 'uchardet' 'ffmpeg' 'taglib')
optdepends=('flac: For FLAC support'
'lame: For MP3 support'
'mac: For APE support'
'mp3gain: For MP3 Replay Gain support'
'opus-tools: For OPUS support'
'sox: For SoX support'
'ttaenc: For TrueAudio support'
'vorbis-tools: For OGG support'
'vorbisgain: For OGG Replay Gain support'
'wavpack: For WavPack support'
)
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('a83d5fe297ceb6408b7f63c56a6be336fe1c6d06ebedcc0c84a3f7dd234140e4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
make DESTDIR="${pkgdir}" install
}
# vim: set ts=4 sw=4 et syn=sh ft=sh:

44
src/gdrive/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Philipp Klein <philipptheklein@gmail.com>
pkgname=gdrive
pkgver=2.1.1
pkgrel=2
pkgdesc="Google Drive CLI Client"
arch=('x86_64')
url="https://github.com/prasmussen/gdrive"
license=('MIT')
makedepends=('git' 'go')
options=('!strip' '!emptydirs')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('SKIP')
_gopkg="${url#https://}"
_gobuild=build/src/$_gopkg
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -modcacherw" # -mod=readonly
prepare() {
mkdir -p "$(dirname $_gobuild)"
cp -a "$srcdir/$pkgname-$pkgver" $_gobuild
export GOCACHE="$srcdir/cache"
export GOPATH="$srcdir/build"
go mod init $_gopkg
go mod tidy -e
}
build() {
export GOCACHE="$srcdir/cache"
export GOPATH="$srcdir/build"
go install $_gopkg@$pkgver
}
package() {
install -Dm755 build/bin/gdrive -t "$pkgdir/usr/bin"
}

View File

@ -0,0 +1,35 @@
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Original Contributor: Bob Finch <w9ya@qrparci.net>
pkgname=hamradio-menus
pkgver=1.0
pkgrel=2
pkgdesc="Ham radio (specific) XDG-compliant menu"
arch=('any')
url="http://www.archlinux.org/"
license=(GPL)
depends=('desktop-file-utils')
install=$pkgname.install
source=(hamradio.png
HamRadio.directory
hamradio.menu)
package() {
cd $srcdir
mkdir -p $pkgdir/usr/share/desktop-directories
mkdir -p $pkgdir/usr/share/pixmaps/hamradio
mkdir -p $pkgdir/etc/xdg/menus/applications-merged
mkdir -p $pkgdir/etc/xdg/menus/kde-applications-merged
install -m644 *.directory $pkgdir/usr/share/desktop-directories/
install -m644 *.png $pkgdir/usr/share/pixmaps/hamradio
install -m644 *.menu $pkgdir/etc/xdg/menus/applications-merged/
install -m644 *.menu $pkgdir/etc/xdg/menus/kde-applications-merged/
}
md5sums=('b24ce93a15cca693efa662ab90ae0fda'
'7c81ee375134d8e5ab7bfbbfd69098f7'
'8ae4d78b8bacf823eecf81f064e43c91')
sha256sums=('e55aabbf91ad110672d87290582705a55c6a52bb5b487c7bd195f5e18cc550b3'
'4bcaaa1ca3f7e0d31aac3cf51399f0a1c6ac0c1192231e8311f00cf688ad977a'
'd9a8c97b934e19e0c3a7be03664eb892390dc5f978180f7b924a30a481ec66e2')

46
src/icu67/PKGBUILD Normal file
View File

@ -0,0 +1,46 @@
# Maintainer: Chris Lane <aur at chrislane dot com>
_pkgname=icu
pkgname=icu67
pkgver=67.1
pkgrel=1
pkgdesc='International Components for Unicode library'
arch=('i686' 'x86_64')
url="http://www.icu-project.org/"
license=('custom:icu')
depends=('gcc-libs' 'sh')
makedepends=('python' 'clang' 'make' 'patch')
source=("https://github.com/unicode-org/icu/releases/download/release-${pkgver//./-}/icu4c-${pkgver//./_}-src.tgz")
sha512sums=('4779f1ce1ca7976f6fad6768853ea8c540da54d11509e3b6cfd864a04b5f2db1c3d4b546387f91ad02fb90804525bc37d2543173f0d705d6ca11dc6f2b7640a8')
build() {
cd "${_pkgname}/source"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--sbindir=/usr/bin
make
}
check() {
cd "${_pkgname}/source"
make -k check
}
package() {
cd "${_pkgname}/source"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share,lib/{pkgconfig,*.so,icu/{current,Makefile.inc,pkgdata.inc}}}
# Install license
install -Dm644 "${srcdir}"/"${_pkgname}"/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
# vim:set ts=2 sw=2 et:

29
src/icu69-bin/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Topik topik@topik.tech
pkgname=icu69-bin
pkgver=69.1
pkgrel=1
pkgdesc="International Components for Unicode library (binary release)"
arch=('x86_64')
url="https://github.com/unicode-org/icu"
license=('custom:icu')
provides=('icu69')
conflicts=('icu69')
depends=('bash')
source=("https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-Fedora32-x64.tgz")
sha512sums=('21bb612c707fce3017a62f44848fa3d69bf4e7061dcb64df57a713443c766ed6370cec0e6202ea4543ae2702a8fff1402d02a652ab32a3a0388071ad41965169')
package() {
tar xf icu4c-69_1-Fedora32-x64.tgz
# Remove certain files if icu is installed to not cause conflicts
rm -rf "${srcdir}"/icu/usr/local/lib/icu "${srcdir}"/icu/usr/local/lib/pkgconfig
for filename in "${srcdir}"/icu/usr/local/lib/*.so; do
if [[ ! -e "$filename" ]]; then continue; fi
if [[ -e "/usr/lib/${filename##*/}" ]]; then
rm -rf "${filename}"
fi
done
mkdir -p "${pkgdir}"/usr/{share,lib}
mkdir -p "${pkgdir}"/usr/share/licenses/icu69
cp -rn "${srcdir}"/icu/usr/local/lib/* -t "${pkgdir}"/usr/lib/
install -Dm644 "${srcdir}"/icu/usr/local/share/icu/69.1/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}

40
src/itd-bin/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Arsen Musyaelyan <arsen@arsenm.dev>
pkgname='itd-bin'
pkgver=1.0.0
pkgrel=1
pkgdesc='Companion daemon for the InfiniTime firmware on the PineTime smartwatch'
url='https://gitea.arsenm.dev/Arsen6331/itd'
arch=('aarch64' 'armv6h' 'i686' 'x86_64')
license=('GPLv3')
provides=('itd' 'itctl')
conflicts=('itd' 'itctl')
depends=('dbus' 'bluez' 'libpulse')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://gitea.arsenm.dev/Arsen6331/itd/releases/download/v1.0.0/itd_1.0.0_linux_aarch64.tar.gz")
sha256sums_aarch64=('8f0bb0b83f0f6ec34505237bda8a03be5a9efd792ecb012ae8657ceecd63ab44')
source_armv6h=("${pkgname}_${pkgver}_armv6h.tar.gz::https://gitea.arsenm.dev/Arsen6331/itd/releases/download/v1.0.0/itd_1.0.0_linux_armv6.tar.gz")
sha256sums_armv6h=('0e7b62312ee360678dcc125e2f6489f559e5d7af2b605d029639c6be668aa437')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://gitea.arsenm.dev/Arsen6331/itd/releases/download/v1.0.0/itd_1.0.0_linux_i386.tar.gz")
sha256sums_i686=('5ba134ba993c470a0d5a5d5c4a67c715aa308131008e1eab3e155b788c3806a3')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://gitea.arsenm.dev/Arsen6331/itd/releases/download/v1.0.0/itd_1.0.0_linux_x86_64.tar.gz")
sha256sums_x86_64=('7ae13460e9b911827355c23ca77a0c59a7099c9988e61366b84a797af682405a')
package() {
# binaries
install -Dm755 "./itd" "${pkgdir}/usr/bin/itd"
install -Dm755 "./itctl" "${pkgdir}/usr/bin/itctl"
# service
install -Dm644 "./itd.service" ${pkgdir}/usr/lib/systemd/user/itd.service
# config
install -Dm644 "./itd.toml" ${pkgdir}/etc/itd.toml
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/itd/LICENSE"
}

253
src/jdk8/PKGBUILD Normal file
View File

@ -0,0 +1,253 @@
# Maintainer: Chris Severance aur.severach AatT spamgourmet.com
# Contributor: Det <nimetonmaili g-mail>
set -u
_pkgname='jdk'
_major='8'
pkgname="${_pkgname}${_major}"
#_minor='212'; _build='b10'; _hash='59066701cf1a433da9770636fbc4c9aa'
#_minor='221'; _build='b11'; _hash='230deb18db3e4014bb8e3e8324f81b43'
#_minor='231'; _build='b11'; _hash='5b13a193868b4bf28bcb45c792fce896'
#_minor='241'; _build='b07'; _hash='1f5b5a70bf22433b84d0e960903adac8'
#_minor='251'; _build='b08'; _hash='3d5a2bb8f8d4428bbe94aed7ec7ae784'
#_minor='261'; _build='b12'; _hash='a4634525489241b9a9e1aa73d9e118e6'
_minor='271'; _build='b09'; _hash='61ae65e088624f5aaa0b1d2d801acb16'
pkgver="${_major}u${_minor}"
pkgrel='1'
pkgdesc="Oracle Java ${_major} Development Kit"
pkgdesc+=' LTS'
arch=('x86_64')
url='https://www.oracle.com/technetwork/java/javase/downloads/index.html'
license=('custom:Oracle')
depends=('ca-certificates-java' 'hicolor-icon-theme' 'java-runtime-common' 'nss' 'xdg-utils')
depends+=('java-environment-common')
optdepends=(
'alsa-lib: for basic sound support'
'gtk2: for Gtk+ look and feel (desktop)'
'eclipse-java: to use "Oracle Java Mission Control" plugins in Eclipse'
)
makedepends=('awk')
provides=(
"java-runtime=${_major}"
"java-runtime-headless=${_major}"
"java-web-start=${_major}"
"java-runtime-jre=${_major}"
"java-runtime-headless-jre=${_major}"
"java-web-start-jre=${_major}"
"java-openjfx=${_major}"
"java-environment=${_major}"
"java-environment-jdk=${_major}"
)
# Variables
_jname="${_pkgname}${_major}"
_jvmdir="/usr/lib/jvm/java-${_major}-${_pkgname}"
backup=(
"etc/java-${_jname}/amd64/jvm.cfg"
"etc/java-${_jname}/images/cursors/cursors.properties"
"etc/java-${_jname}/management/jmxremote.access"
"etc/java-${_jname}/management/management.properties"
"etc/java-${_jname}/security/java.policy"
"etc/java-${_jname}/security/java.security"
"etc/java-${_jname}/security/javaws.policy"
"etc/java-${_jname}/content-types.properties"
"etc/java-${_jname}/flavormap.properties"
"etc/java-${_jname}/fontconfig.properties.src"
"etc/java-${_jname}/logging.properties"
"etc/java-${_jname}/net.properties"
"etc/java-${_jname}/psfont.properties.ja"
"etc/java-${_jname}/psfontj2d.properties"
"etc/java-${_jname}/sound.properties"
)
options=('!strip') # JDK debug-symbols
install="${pkgname}.install"
_srcfil="${_pkgname}-${pkgver}-linux-x64.tar.gz"
source=(
"https://download.oracle.com/otn-pub/java/jdk/${pkgver}-${_build}/${_hash}/${_srcfil}"
"jconsole-${_jname}.desktop"
"jmc-${_jname}.desktop"
"jvisualvm-${_jname}.desktop"
"policytool-${_jname}.desktop"
'readme.sh'
)
# from oracle-sqldeveloper
if :; then
DLAGENTS+=("manual::${startdir:-}/readme.sh %o %u")
source[0]="manual://${_srcfil}"
if [ ! -z "${HOME:-}" ]; then # block mksrcinfo
XDG_DOWNLOAD_DIR="$(xdg-user-dir DOWNLOAD 2>/dev/null)" || :
if [ -z "${XDG_DOWNLOAD_DIR}" ]; then
XDG_DOWNLOAD_DIR=~/'Downloads'
fi
if [ -s "${XDG_DOWNLOAD_DIR}/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then
if type msg > /dev/null 2>&1; then
set +u
msg "Scooping files from ${XDG_DOWNLOAD_DIR}" 1>&2
msg2 "${_srcfil}" 1>&2
set -u
ln -sr "${XDG_DOWNLOAD_DIR}/${_srcfil}"
fi
fi
fi
unset _srcfil
unset XDG_DOWNLOAD_DIR
fi
md5sums=('bd8dc95a810b095996acf5f5b0dd2a69'
'8a66f50efdc867ffd6a27168bc93b210'
'1cbde70639abd98db4bace284dbf2bc4'
'f0b39865361437f3778ecbe6ffbc0a06'
'89704501aff8efe859c31968d8d168e6'
'51c8839211cc53f09c9b11a8e28ed1ef')
sha256sums=('eba7926a683bb65c6f4e1c502ce624346c42b00fb5531deba296f2560b452c78'
'65282603bd0804d162f3f7da47bc7f3c91373e87504297d6a6fd6f2f8a1ec4ee'
'8f865b52946a9ab98556c56306c7e70ae7aa432b4d005c70df0bba9d2c3111b1'
'144e6651fcea08d95f3148d3a8ad17deb93fec4dd9236d37d27d7c648230b870'
'635433e9c78ff58af65c316232ac9907d289a324428923788ea0f82ae7f8083b'
'f1081b08cfbb467277e95b3794191c9963398579733fa8832425b308b5917711')
PKGEXT='.pkg.tar.zst' # gz is much faster than .xz, zst is much faster than gz
## Alternative mirror, if your local one is throttled:
## Posting new sites does no good. They get taken down by the admin
## from too much traffic or complaints from Oracle.
#source[0]=???
DLAGENTS=("${DLAGENTS[@]// -gqb \"\"/ -gq}")
DLAGENTS=("${DLAGENTS[@]//curl -/curl -b 'oraclelicense=a' -}")
# https://bugs.openjdk.java.net/browse/JDK-8170157
# 2020-06-19 jce_policy-8.zip/UnlimitedJCEPolicyJDK8/README.txt
if [ "${_minor}" -lt 161 ]; then
source+=("https://download.oracle.com/otn-pub/java/jce/${_major}/jce_policy-${_major}.zip")
_opt_JCE=1
else
_opt_JCE=0
fi
if ! :; then
for _d in "${!DLAGENTS[@]}"; do
case "${DLAGENTS[${_d}]}" in
'https::'*) DLAGENTS["${_d}"]='https::/usr/bin/wget --no-cookies --header Cookie:oraclelicense=a --no-glob --no-config --continue --tries=3 --waitretry=3 -O %o %u';;
esac
done
makedepends+=('wget')
fi
package() {
set -u
cd "${_pkgname}1.${_major}.0_${_minor}"
set +u; msg2 'Creating directory structure...'; set -u
install -d "${pkgdir}/etc/.java/.systemPrefs"
install -d "${pkgdir}/usr/lib/jvm/java-${_major}-${_pkgname}/bin"
install -d "${pkgdir}/usr/lib/mozilla/plugins"
install -d "${pkgdir}/usr/share/licenses/java${_major}-${_pkgname}"
set +u; msg2 'Removing redundancies...'; set -u
pushd 'jre' > /dev/null
rm -r 'lib/desktop/icons/HighContrast/'
rm -r 'lib/desktop/icons/HighContrastInverse/'
rm -r 'lib/desktop/icons/LowContrast/'
rm lib/fontconfig.*.bfc
rm lib/fontconfig.*.properties.src
rm *.txt
rm 'COPYRIGHT'
rm 'LICENSE'
rm 'README'
rm -r 'plugin/'
popd > /dev/null
rm 'man/ja'
set +u; msg2 'Moving contents...'; set -u
mv * "${pkgdir}/${_jvmdir}"
# Cd to the new playground
cd "${pkgdir}/${_jvmdir}"
set +u; msg2 'Fixing directory structure...'; set -u
# Replace duplicate binaries in bin/ with links to jre/bin/
local _i
for _i in jre/bin/*; do
ln -sf "${_jvmdir}/jre/bin/${_i##*/}" "bin/${_i##*/}"
done
# Suffix .desktops + icons (sun-java.png -> sun-java-${_jname}.png)
local _i
for _i in $(find 'jre/lib/desktop/' -type 'f'); do
rename -- '.' "-${_jname}." "${_i}"
done
# Fix .desktop paths
sed -e "s|Exec=|Exec=${_jvmdir}/jre/bin/|" \
-e "s|.png|-${_jname}.png|" \
-i 'jre/lib/desktop/applications'/*
# Move .desktops + icons to /usr/share
mv 'jre/lib/desktop'/* "${pkgdir}/usr/share/"
install -m644 "${srcdir}"/*.desktop -t "${pkgdir}/usr/share/applications/"
# Enable context menu launch (Austcool)
sed -e 's:^NoDisplay=true:#&:g' \
-e 's:^Exec=/usr.*$:& -F:g' \
-i "${pkgdir}/usr/share/applications/sun-java-jdk8.desktop"
# Move confs to /etc and link back to /usr: /usr/lib/jvm/java-${_jname}/jre/lib -> /etc
local _new_etc_path
for _new_etc_path in "${backup[@]}"; do
# Old location
local _old_usr_path="jre/lib/${_new_etc_path#*${_jname}/}"
# Move
install -Dm644 "${_old_usr_path}" "${pkgdir}/${_new_etc_path}"
ln -sf "/${_new_etc_path}" "${_old_usr_path}"
done
# Link NPAPI plugin
ln -s "${_jvmdir}/jre/lib/amd64/libnpjp2.so" "${pkgdir}/usr/lib/mozilla/plugins/libnpjp2-${_jname}.so"
# Replace JKS keystore with 'ca-certificates-java'
ln -sf '/etc/ssl/certs/java/cacerts' 'jre/lib/security/cacerts'
# Suffix man pages
for _i in $(find 'man/' -type 'f'); do
rename -- '.1' "-${_jname}.1" "${_i}"
done
# Move man pages
mv 'man/ja_JP.UTF-8/' 'man/ja'
mv 'man/' "${pkgdir}/usr/share"
# Move/link licenses
mv 'COPYRIGHT' 'LICENSE' *.txt "${pkgdir}/usr/share/licenses/java${_major}-${_pkgname}/"
ln -s "/usr/share/licenses/java${_major}-${_pkgname}/" "${pkgdir}/usr/share/licenses/${pkgname}"
if [ "${_opt_JCE}" -ne 0 ]; then
set +u; msg2 'Installing Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files...'; set -u
# Replace default "strong", but limited, cryptography to get an "unlimited strength" one for
# things like 256-bit AES. Enabled by default in OpenJDK:
# - http://suhothayan.blogspot.com/2012/05/how-to-install-java-cryptography.html
# - http://www.eyrie.org/~eagle/notes/debian/jce-policy.html
install -m644 "${srcdir}/UnlimitedJCEPolicyJDK${_major}"/*.jar 'jre/lib/security/'
install -Dm644 "${srcdir}/UnlimitedJCEPolicyJDK${_major}/README.txt" \
"${pkgdir}/usr/share/doc/${_pkgname}/README_-_Java_JCE_Unlimited_Strength.txt"
fi
set +u; msg2 'Enabling copy+paste in unsigned applets...'; set -u
# Copy/paste from system clipboard to unsigned Java applets has been disabled since 6u24:
# - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java
# - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html
local _text='\
// (AUR) Allow unsigned applets to read system clipboard, see:
// - https://blogs.oracle.com/kyle/entry/copy_and_paste_in_java
// - http://slightlyrandombrokenthoughts.blogspot.com/2011/03/oracle-java-applet-clipboard-injection.html
permission java.awt.AWTPermission "accessClipboard";'
local _lf=$'\n'
_text="${_text//${_lf}/\\n}"
local _line
_line="$(awk '/permission/{a=NR}; END{print a}' "${pkgdir}/etc/java-${_jname}/security/java.policy")"
sed -e "${_line} a ${_text}" -i "${pkgdir}/etc/java-${_jname}/security/java.policy"
set +u
}
set +u

29
src/kdocker/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
pkgname=kdocker
pkgver=5.3
pkgrel=1
pkgdesc="An application to help you dock any application into the system tray"
arch=('i686' 'x86_64')
url="https://github.com/user-none/KDocker"
license=('GPL2')
depends=('qt5-base' 'qt5-x11extras' 'libxpm' 'libxmu')
source=(https://github.com/user-none/KDocker/archive/${pkgver}.tar.gz)
sha256sums=('c49eea33d46a626b2a59c8ddc923ce9a027f0b9bd2125f4f6c264e888997e663')
build() {
cd "$srcdir/KDocker-$pkgver"
qmake-qt5
make
}
package() {
cd "$srcdir/KDocker-$pkgver"
install -Dm755 "kdocker" "$pkgdir/usr/bin/kdocker"
install -Dm644 "helpers/appdata/kdocker.appdata.xml" "$pkgdir/usr/share/appdata/kdocker.appdata.xml"
strip "$pkgdir/usr/bin/kdocker"
install -Dm644 "resources/images/kdocker.png" "$pkgdir/usr/share/pixmaps/kdocker.png"
install -Dm644 "helpers/kdocker.desktop" "$pkgdir/usr/share/applications/kdocker.desktop"
install -Dm644 "helpers/kdocker" "$pkgdir/etc/bash_completion.d/kdocker"
install -Dm644 "helpers/kdocker.1" "$pkgdir/usr/share/man/man1/kdocker.1"
}

View File

@ -0,0 +1,59 @@
# Maintainer: David Parrish <daveparrish@tutanota.com>
# URL: https://github.com/lightningnetwork/lnd
# Upstream: https://github.com/lightningnetwork/lnd
#shellcheck disable=SC2034
pkgname='lightning-loop'
pkgver=0.21.0_beta
_pkgver="${pkgver//_/-}"
pkgrel=1
pkgdesc='Lightning Loop is a non-custodial service offered by Lightning Labs that makes it easy to move bitcoin into and out of the Lightning Network.'
arch=('i686' 'x86_64' 'aarch64')
url='https://github.com/lightninglabs/loop'
license=('MIT')
depends=('glibc')
makedepends=('go')
provides=('loopd' 'loop')
conflicts=('loop-bin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lightninglabs/loop/archive/refs/tags/v${_pkgver}.tar.gz")
sha256sums=('3f33f25c9e3c53f970107281bae2fce73d8a2310001e8d4b6afcc584b3798948')
# create a fake go path directory and pushd into it
# $1 real directory
# $2 gopath directory
_fake_gopath_pushd() {
mkdir -p "$GOPATH/src/${2%/*}"
rm -f "$GOPATH/src/$2"
ln -rsT "$1" "$GOPATH/src/$2"
pushd "$GOPATH/src/$2" >/dev/null || exit
}
_fake_gopath_popd() {
popd >/dev/null || exit
}
prepare() {
# Create GOPATH
mkdir -p "${srcdir:?}/GOPATH"
mv "$srcdir/loop-$_pkgver" "$srcdir/loop"
}
build() {
# Use suggested GOFLAGS for Arch Linux.
# https://wiki.archlinux.org/title/Go_package_guidelines
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
export GOPATH="$srcdir/GOPATH"
_fake_gopath_pushd "loop" github.com/lightninglabs/loop
make && make install
_fake_gopath_popd
}
package() {
for _bin in loop loopd; do
install -Dm 755 "$srcdir/GOPATH/bin/$_bin" -t "${pkgdir:?}/usr/bin";
done
install -D -m644 "loop/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

36
src/lms/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=lms
pkgver=3.36.0
pkgrel=1
pkgdesc='Lightweight Music Server. Access your self-hosted music using a web interface'
arch=('x86_64')
url='https://github.com/epoupon/lms'
install=lms.install
license=('GPL3')
depends=('ffmpeg'
'libconfig'
'taglib'
'wt')
makedepends=('cmake'
'wt'
'boost'
'gtest'
'graphicsmagick')
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/epoupon/lms/archive/v${pkgver}.tar.gz")
sha256sums=('32e4a9b603db2875206de4eb7e9348a550187f2c79478f3c9f50245ff052c20e')
build() {
mkdir "${pkgname}-${pkgver}/build"
cd "${pkgname}-${pkgver}/build"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 "${pkgdir}/usr/share/lms/lms.conf" -t "${pkgdir}/etc/"
install -Dm644 "${pkgdir}/usr/share/lms/default.service" "${pkgdir}/usr/lib/systemd/system/lms.service"
}
# vim:set ts=2 sw=2 et:

59
src/lnd/PKGBUILD Normal file
View File

@ -0,0 +1,59 @@
# Maintainer: David Parrish <daveparrish@tutanota.com>
# URL: https://github.com/lightningnetwork/lnd
# Upstream: https://github.com/lightningnetwork/lnd
#shellcheck disable=SC2034
pkgname='lnd'
pkgver=0.15.5_beta
_pkgver="${pkgver//_/-}"
pkgrel=3
pkgdesc='The Lightning Network Daemon, for secure off-chain bitcoin transactions.'
arch=('i686' 'x86_64' 'aarch64')
url='https://github.com/lightningnetwork/lnd'
license=('MIT')
depends=('glibc')
makedepends=('go')
provides=('lnd' 'lncli')
conflicts=('lnd-git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lightningnetwork/lnd/archive/v${_pkgver}.tar.gz")
sha256sums=('8893dfa360aae92fefcb3df493136d7ab4a00e3e1b6b13b0fab378d7d71fb8d5')
# create a fake go path directory and pushd into it
# $1 real directory
# $2 gopath directory
_fake_gopath_pushd() {
mkdir -p "$GOPATH/src/${2%/*}"
rm -f "$GOPATH/src/$2"
ln -rsT "$1" "$GOPATH/src/$2"
pushd "$GOPATH/src/$2" >/dev/null || exit
}
_fake_gopath_popd() {
popd >/dev/null || exit
}
prepare() {
# Create GOPATH
mkdir -p "${srcdir:?}/GOPATH"
mv "$srcdir/$pkgname-$_pkgver" "$srcdir/lnd"
}
build() {
# Use suggested GOFLAGS for Arch Linux.
# https://wiki.archlinux.org/title/Go_package_guidelines
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
export GOPATH="$srcdir/GOPATH"
_fake_gopath_pushd "$pkgname" github.com/lightningnetwork/lnd
make && make install
_fake_gopath_popd
}
package() {
for _bin in lnd lncli; do
install -Dm 755 "$srcdir/GOPATH/bin/$_bin" -t "${pkgdir:?}/usr/bin";
done
install -D -m644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

29
src/lua51-event/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Dwayne Bent <dbb@dbb.io>
# Contributor: Timothée Ravier <tim@siosm.fr>
pkgname=lua51-event
_pkgbase=luaevent
pkgver=0.4.4
pkgrel=1
pkgdesc="libevent binding for Lua"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/harningt/luaevent"
license=('MIT')
makedepends=('lua51' 'lua51-socket')
depends=('libevent>=1.4')
source=(${_pkgbase}-${pkgver}.tar.gz::https://github.com/harningt/${_pkgbase}/archive/v${pkgver}.tar.gz)
sha256sums=('242c95b9cacd87201aa35ba618eb1cd0b0e2a7d1a8fc6734c0bc06dd742e2455')
build() {
cd ${_pkgbase}-${pkgver}
make LUA_INC_DIR=/usr/include/lua5.1
}
package() {
cd ${_pkgbase}-${pkgver}
make INSTALL_DIR_BIN='/usr/lib/lua/5.1' \
INSTALL_DIR_LUA='/usr/share/lua/5.1' \
DESTDIR="${pkgdir}" \
install
}

View File

@ -1,26 +1,25 @@
# Maintainer: Marcel Korpel <marcel[dot]korpel[at]gmail> # Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Marcel Korpel <marcel[dot]korpel[at]gmail>
# Contributor: Olaf Bauer <hydro@freenet.de> # Contributor: Olaf Bauer <hydro@freenet.de>
pkgname=makemkv pkgname=makemkv
pkgver=1.16.4 pkgver=1.17.2
pkgrel=1 pkgrel=2
pkgdesc="DVD and Blu-ray to MKV converter and network streamer" pkgdesc="DVD and Blu-ray to MKV converter"
arch=('i686' 'x86_64') arch=(x86_64 i686)
url="https://www.makemkv.com" url="https://www.makemkv.com"
license=('LGPL' 'MPL' 'custom') license=('custom: GuinpinSoft Inc EULA' LGPL MPL)
depends=('qt5-base' 'libxkbcommon-x11' 'hicolor-icon-theme' 'icu' 'ffmpeg') depends=(qt5-base ffmpeg)
if [ "$CARCH" = "x86_64" ]; then optdepends=(java-runtime)
optdepends=('lib32-glibc: dts support' optdepends_x86_64=('lib32-glibc: dts support')
'ccextractor: extract CC streams from some DVD media')
fi
install=makemkv.install install=makemkv.install
source=(${url}/download/${pkgname}-bin-${pkgver}.tar.gz source=(${url}/download/${pkgname}-bin-${pkgver}.tar.gz
${url}/download/${pkgname}-oss-${pkgver}.tar.gz ${url}/download/${pkgname}-oss-${pkgver}.tar.gz
makemkv.1 makemkv.1
makemkvcon.1 makemkvcon.1
mmdtsdec.1) mmdtsdec.1)
sha256sums=('22fbd3f57e93f3c79a76c878202fb27e85f2d66de26b3be87b69198228a66aa2' sha256sums=('80008ccc9ee864293f20d49e25a57b1a717d872ffa17d7744032e9e633e21789'
'e6b0d391159e60c48c115cdf6938eb02f5aeef3c3fecf94813c500f4031e4f6b' 'a83f8abb3f23def0dc8783e535062a75b7df2f7612291a8a83a21f90b93f2da4'
'5573b2e4bade10d8cd258a7c235eb46f66ef8c8c97e5d5eb090c38fa0f94389b' '5573b2e4bade10d8cd258a7c235eb46f66ef8c8c97e5d5eb090c38fa0f94389b'
'f12c0facf2f0071a9f728b138986f0a4c2b4ff6ace2dfb2e96364e215e9fda6f' 'f12c0facf2f0071a9f728b138986f0a4c2b4ff6ace2dfb2e96364e215e9fda6f'
'2a6237d3d5ce073734c658c7ec5d2141ecd0047e6d3c45d1bd594135c928878f') '2a6237d3d5ce073734c658c7ec5d2141ecd0047e6d3c45d1bd594135c928878f')
@ -33,12 +32,12 @@ build() {
package() { package() {
cd "${srcdir}/${pkgname}-oss-${pkgver}" cd "${srcdir}/${pkgname}-oss-${pkgver}"
make DESTDIR=\""${pkgdir}"\" install make DESTDIR="${pkgdir}" install
cd "${srcdir}/${pkgname}-bin-${pkgver}" cd "${srcdir}/${pkgname}-bin-${pkgver}"
install -d tmp install -d tmp
echo accepted > tmp/eula_accepted echo accepted > tmp/eula_accepted
make DESTDIR=\""${pkgdir}"\" install make DESTDIR="${pkgdir}" install
install -Dm 644 src/eula_en_linux.txt "${pkgdir}/usr/share/licenses/${pkgname}/eula_en_linux.txt" install -Dm 644 src/eula_en_linux.txt "${pkgdir}/usr/share/licenses/${pkgname}/eula_en_linux.txt"

27
src/moonlight-qt/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Michael Herzberg <{firstname}@{firstinitial}{lastname}.de>
pkgname=moonlight-qt
pkgver=4.1.0
pkgrel=1
pkgdesc='GameStream client for PCs (Windows, Mac, and Linux)'
arch=('x86_64')
license=('GPL')
url='https://moonlight-stream.org'
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-svg' 'ffmpeg' 'sdl2_ttf')
makedepends=('git')
optdepends=('libva-intel-driver: hardware acceleration for Intel GPUs')
source=("https://github.com/moonlight-stream/${pkgname}/releases/download/v${pkgver}/MoonlightSrc-${pkgver}.tar.gz")
sha256sums=('d6afa610a5747bfcfb66c17aea733e680950746065b62abf0fd44d868e2d163a')
prepare() {
qmake PREFIX="$pkgdir/usr" moonlight-qt.pro
}
build() {
make release
}
package() {
make install
}

View File

@ -0,0 +1,20 @@
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=nextcloud-app-keeweb
pkgver=0.6.3
pkgrel=1
pkgdesc="Open Keepass stores inside Nextcloud"
arch=('any')
url="https://github.com/jhass/nextcloud-keeweb"
license=('AGPL')
depends=('nextcloud')
makedepends=()
options=('!strip')
source=("https://github.com/jhass/nextcloud-keeweb/releases/download/v${pkgver}/keeweb-${pkgver}.tar.gz")
sha512sums=('5a04f52e0dec7304ef71196deda755443a1fcde17523da04ab3f0e208dc57d31f9b6a2dcf3f24ed8720708c26cbdc49ee63b3b03a1583d604c763e8dd2ffbc19')
package() {
install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
cp -a "${srcdir}/keeweb" "${pkgdir}/usr/share/webapps/nextcloud/apps/keeweb"
}

View File

@ -1,7 +1,7 @@
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com> # Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=nextcloud-app-user-external pkgname=nextcloud-app-user-external
pkgver=2.1.0 pkgver=3.0.0
pkgrel=1 pkgrel=1
pkgdesc=" External user authentication methods like IMAP, SMB and FTP" pkgdesc=" External user authentication methods like IMAP, SMB and FTP"
arch=('any') arch=('any')
@ -10,8 +10,8 @@ license=('AGPL3')
depends=('nextcloud') depends=('nextcloud')
makedepends=() makedepends=()
options=('!strip') options=('!strip')
source=("nextcloud-app-user-external-${pkgver}.tar.gz::https://github.com/nextcloud/user_external/releases/download/v${pkgver}/user_external-${pkgver}.tar.gz") source=("https://github.com/nextcloud-releases/user_external/releases/download/v${pkgver}/user_external-v${pkgver}.tar.gz")
sha256sums=("79d400c05737ea3512faf0ab77411dd5da9c830341e59b1a98b86775c92acf19") sha256sums=("25cd717780993091bac9e76f81c01fad02a1844917d2ac3973481f93a31ff276")
package() { package() {
install -d "${pkgdir}/usr/share/webapps/nextcloud/apps" install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"

50
src/shntool/PKGBUILD Normal file
View File

@ -0,0 +1,50 @@
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Michal Hybner <dta081@gmail.com>
pkgname=shntool
pkgver=3.0.10
pkgrel=7
pkgdesc="A multi-purpose WAVE data processing and reporting utility"
arch=('x86_64')
url="http://shnutils.freeshell.org/shntool/"
license=('GPL')
options=(!emptydirs)
depends=('glibc')
optdepends=('mac: support for ape format'
'flac: support for flac format'
'wavpack: support for wv format')
source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"
'debian_patches_950803.patch'
'debian_patches_no-cdquality-check.patch'
'shntool-3.0.10-large-size.diff'
'shntool-3.0.10-large-times.diff')
# Patches taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684600
# https://salsa.debian.org/debian/shntool/-/tree/master/debian/patches
prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -Np1 < "${srcdir}/debian_patches_950803.patch"
patch -Np1 < "${srcdir}/shntool-3.0.10-large-size.diff"
patch -Np1 < "${srcdir}/shntool-3.0.10-large-times.diff"
patch -Np1 < "${srcdir}/debian_patches_no-cdquality-check.patch"
}
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
md5sums=('5d41f8f42c3c15e3145a7a43539c3eae'
'a3aa5b817cedb4226fa32340609a5995'
'596398b13e02b243078320ebde4743fb'
'4265935ef1d684a4b49041278ffda7de'
'6f0d61ddbf8cbee5c0b51a99e987ddda')
# vim:set ts=2 sw=2 et:

41
src/ssf-git/PKGBUILD Normal file
View File

@ -0,0 +1,41 @@
# Maintainer : Johnathan Jenkins <twodopeshaggy@gmail.com>
# Contributor: Drew Liszewski <drew dot liszewski at gmail dot com>
# Contributor: Daniel Varga <varga dot daniel at gmx dot de>
pkgname=ssf-git
_gitname=ssf
pkgrel=1
epoch=1
pkgver=1.0.1.r383.g2caaaab
pkgdesc="Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/securesocketfunneling/ssf"
license=('MIT')
makedepends=('git' 'boost' 'cmake' 'openssl-1.0')
depends=('boost-libs')
source=('git://github.com/securesocketfunneling/ssf.git')
md5sums=('SKIP')
provides=('ssf')
pkgver() {
cd $srcdir/$_gitname
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$_gitname"
git submodule update --init
}
build() {
cd "$srcdir/$_gitname"
mkdir -p "$srcdir/$_gitname/build"
cd "$srcdir/$_gitname/build"
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_TLS=ON
make
}
package() {
cd $_gitname
make install
}

43
src/steamlink/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
pkgname=steamlink
_name=steamlink
pkgver=1.1.89.225
pkgrel=1
pkgdesc="Steam Link client"
arch=('x86_64')
url="https://store.steampowered.com/remoteplay#anywhere"
license=('custom')
depends=('freetype2' 'harfbuzz' 'icu67' 'libdrm' 'libglvnd' 'libjpeg6-turbo' 'libpng' 'libva' 'libvdpau' 'libx11' 'opus' 'icu69-bin')
makedepends=('ostree' 'fakeroot')
source=(
"flathub.gpg"
"steamlink.sh"
)
# Ensuring we're serving the correct image
_ostree_commit=5ffdc85c370052adf4e0ac28bd71779ec9436506c98c79e8b9fd1d6b2a41cc1a
sha256sums=('8bdc20abc4e19c0796460beb5bfe0e7aa4138716999e19c6f2dbdd78cc41aeaa'
'4d5bd2835b7ccf71e53e0f6f2c4bc9a3fe2477345cb51517f05b019dd63b8fe8')
build() {
mkdir -p ostree
ostree init --repo ./ostree
ostree remote add --gpg-import=flathub.gpg --repo ./ostree flathub https://dl.flathub.org/repo/ || true
fakeroot ostree pull --repo ./ostree flathub app/com.valvesoftware.SteamLink/x86_64/stable@$_ostree_commit
ostree export --repo ./ostree flathub:$_ostree_commit --subpath files > steamlink.tar
}
package() {
mkdir -p $pkgdir/opt/steamlink
tar -xf ./steamlink.tar -C $pkgdir/opt/steamlink bin/ lib/ README.txt
# Wrapper script - needed as we need Steam's shipped libraries
install -Dm755 $srcdir/steamlink.sh $pkgdir/usr/bin/steamlink
# desktop entry / icon
mkdir -p $pkgdir/usr
tar -xf ./steamlink.tar -C $pkgdir/usr share/applications/ share/icons/
sed -i 's/\/app\/bin/\/usr\/bin/g' $pkgdir/usr/share/applications/com.valvesoftware.SteamLink.desktop
# License
mkdir -p $pkgdir/usr/share/licenses/$pkgname
tar -xf ./steamlink.tar -C $pkgdir/usr/share/licenses/$pkgname LICENSE.txt ThirdPartyLegalNotices.css ThirdPartyLegalNotices.html
}

36
src/tdrop-git/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Fox Kiester <noct[at]posteo[dot]net>
_pkgname=tdrop
pkgname=tdrop-git
pkgver=0.4.0.r16.gd4a7ec8
pkgrel=1
pkgdesc="A WM-Independent dropdown window and terminal creator"
arch=('any')
url="https://github.com/noctuid/tdrop"
license=('Simplified BSD')
depends=('bash' 'coreutils' 'gawk' 'procps-ng' 'xdotool' 'xorg-xwininfo'
'xorg-xprop')
optdepends=(
# keybinding support
'sxhkd'
# session starting support
'tmux'
'tmuxinator'
'tmuxp'
# multiple monitor support
'xorg-xrandr'
)
makedepends=('git')
provides=("${_pkgname}")
md5sums=('SKIP')
source=("git+https://github.com/noctuid/${_pkgname}")
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
}

20
src/tdrop/PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Maintainer: A.T.W.A. <arch.atwa@gmail.com>
# Contributor: Fox Kiester <noct[at]openmailbox[dot]org>
pkgname=tdrop
pkgver=0.4.0
pkgrel=2
pkgdesc="Glorified WM-independent dropdown creator"
arch=('any')
url="https://github.com/noctuid/tdrop"
license=('BSD')
depends=('coreutils' 'gawk' 'grep' 'procps-ng' 'xdotool' 'xorg-xprop' 'xorg-xwininfo')
optdepends=('tmux: session starting support'
'xorg-xrandr: multiple monitor resizing support')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/noctuid/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('ef4c644ad6c2c350b2e0f97ae2712e9871e13a6baef9065bcc1d8125eb073bb1')
package() {
cd "${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
}

49
src/vdhcoapp/PKGBUILD Normal file
View File

@ -0,0 +1,49 @@
# Maintainer: Damien Guihal <dguihal@gmail.com>
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
pkgname=vdhcoapp
pkgver=1.6.0
pkgrel=1
pkgdesc="Companion application for Video DownloadHelper browser add-on"
arch=('x86_64')
url="https://github.com/mi-g/vdhcoapp"
license=('GPL2')
depends=('ffmpeg')
makedepends=('gulp' 'nodejs-lts-dubnium' 'npm')
options=(!strip)
source=($pkgname-$pkgver.tar.gz::https://github.com/mi-g/vdhcoapp/archive/v${pkgver}.tar.gz
vdhcoapp.patch
vdhcoapp-install.hook
vdhcoapp-remove.hook)
sha256sums=('47e7fc4dbc3f8f01fa1e07abe5fe1fd220f38d3bfe3c75ded9a5861d91263b81'
'ab240d9d9fea27792d008eaffe14de5f798ced0938cc79351ed108185baf93a3'
'9f8cbe84b2543738390b70d770551259c6db2b67235b7792e9094908cecbc955'
'448ee36b350b6bcd304d33cf7638c13bda88d5086f2256e823d73ccc22e52ce0')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np2 -i "${srcdir}/vdhcoapp.patch"
}
build() {
cd "${pkgname}-${pkgver}"
npm install
gulp
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 bin/net.downloadhelper.coapp-* "${pkgdir}/usr/bin/vdhcoapp"
install -Dm644 config.json "${pkgdir}/usr/share/vdhcoapp/config.json"
install -dm755 "${pkgdir}/usr/lib/mozilla/native-messaging-hosts/"
install -dm755 "${pkgdir}/etc/opt/chrome/native-messaging-hosts/"
install -dm755 "${pkgdir}/etc/chromium/native-messaging-hosts/"
install -Dm644 "${srcdir}/vdhcoapp-install.hook" "${pkgdir}/usr/share/libalpm/hooks/vdhcoapp-install.hook"
install -Dm644 "${srcdir}/vdhcoapp-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/vdhcoapp-remove.hook"
}

View File

@ -3,19 +3,19 @@
export GIT_LFS_SKIP_SMUDGE=1 # This is to prevent Git LFS errors export GIT_LFS_SKIP_SMUDGE=1 # This is to prevent Git LFS errors
pkgname=veloren pkgname=veloren
pkgver=0.10.0 pkgver=0.12.0
pkgrel=1 pkgrel=3
pkgdesc='An open-world, open-source multiplayer voxel RPG' pkgdesc='An open-world, open-source multiplayer voxel RPG'
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
url='https://veloren.net/' url='https://veloren.net/'
license=('GPL3') license=('GPL3')
options=('!strip') # This makes debugging issues easier sometimes, comment out if small package size is needed options=('!strip') # This makes debugging issues easier sometimes, comment out if small package size is needed
depends=('alsa-lib' 'glslang' 'libxkbcommon-x11' 'pulseaudio-alsa' 'vulkan-icd-loader') depends=('alsa-lib' 'glslang' 'libxkbcommon-x11' 'pulseaudio-alsa' 'vulkan-icd-loader')
makedepends=('atk' 'cairo' 'gdk-pixbuf2' 'git' 'git-lfs' 'openssl' 'pango' 'python' 'rustup' 'systemd' 'cmake') makedepends=('atk' 'cairo' 'cmake' 'gdk-pixbuf2' 'git' 'git-lfs' 'openssl' 'pango' 'python' 'rustup' 'systemd')
provides=("$pkgname") provides=()
conflicts=("$pkgname") conflicts=()
_repo='https://gitlab.com/veloren/veloren.git' _repo='https://gitlab.com/veloren/veloren.git'
source=("$pkgname"::"git+$_repo#tag=v$pkgver") source=("$pkgname"::"git+$_repo#commit=a22f03563819725af9477c61efc3cc569858a917")
noextract=() noextract=()
sha512sums=('SKIP') sha512sums=('SKIP')

View File

@ -0,0 +1,46 @@
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=wireguard-proxy-git
pkgver=0.1.1.r21.g225d71d
pkgrel=1
pkgdesc="proxy wireguard over TCP/TLS."
url="https://code.moparisthebest.com/moparisthebest/wireguard-proxy"
depends=('openssl')
makedepends=('cargo' 'git')
provides=('wireguard-proxy')
conflicts=('wireguard-proxy')
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
license=('MIT' 'Apache')
backup=('etc/wireguard-proxy/server.conf' 'etc/wireguard-proxy/client.conf')
source=("$pkgname::git+https://code.moparisthebest.com/moparisthebest/wireguard-proxy.git#branch=openssl")
validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest <admin AT moparisthebest.com>
sha256sums=(SKIP)
conflicts=(wireguard-proxy)
provides=(wireguard-proxy=$pkgver)
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
cargo fetch
}
build() {
cd "$pkgname"
cargo build --offline --release --features tls
}
package() {
cd "$pkgname"
install -Dm755 target/release/wireguard-proxy "$pkgdir/usr/bin/wireguard-proxy"
# udp-test is optional, remove if you want
install -Dm755 target/release/udp-test "$pkgdir/usr/bin/udp-test"
install -Dm644 LICENSE-APACHE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
install -Dm644 systemd/server.conf "${pkgdir}/etc/wireguard-proxy/server.conf"
install -Dm644 systemd/client.conf "${pkgdir}/etc/wireguard-proxy/client.conf"
install -Dm644 systemd/wireguard-proxy@.service "${pkgdir}/usr/lib/systemd/system/wireguard-proxy@.service"
}

View File

@ -0,0 +1,28 @@
# Maintainer: Troy Engel <troyengel+arch@gmail.com>
# Contributor: ugjka <ugis.germanis@gmail.com>
# Contributor: Bill Sun <billksun@gmail.com>
# Contributor: magnific0
pkgname=wondershaper-git
pkgver=20130306
pkgrel=2
pkgdesc="Limit the bandwidth of one or more network adapters"
arch=('any')
url="https://github.com/magnific0/wondershaper"
license=('GPL2')
depends=('iproute')
makedepends=('git')
backup=('etc/conf.d/wondershaper.conf')
source=("$pkgname"::'git://github.com/magnific0/wondershaper.git')
md5sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
install -Dm755 wondershaper "$pkgdir/usr/bin/wondershaper"
install -Dm644 wondershaper.service \
"${pkgdir}/usr/lib/systemd/system/wondershaper.service"
install -Dm644 wondershaper.conf \
"${pkgdir}/etc/conf.d/wondershaper.conf"
}
# vim:set ts=2 sw=2 et:

38
src/wstunnel-git/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
# Maintainer : Johnathan Jenkins <twodopeshaggy@gmail.com>
# Contributor: Drew Liszewski <drew dot liszewski at gmail dot com>
# Contributor: Daniel Varga <varga dot daniel at gmx dot de>
pkgname=wstunnel-git
_gitname=wstunnel
pkgrel=1
epoch=1
pkgver=2.0.r12.g2fc8aed
pkgdesc="Tunneling over websocket protocol."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/erebe/wstunnel"
license=('MIT')
makedepends=('git' 'stack' 'ghc')
#depends=('boost-libs')
source=('git://github.com/erebe/wstunnel.git')
md5sums=('SKIP')
provides=('wstunnel')
pkgver() {
cd $srcdir/$_gitname
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$_gitname"
}
build() {
cd "$srcdir/$_gitname"
#stack init
stack build
}
package() {
cd $_gitname
stack install
}

View File

@ -1,38 +1,44 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: Andrew Rabert <ar@nullsum.net>
# Contributor: Jack Mitchell <jack@embed.me.uk> # Contributor: Jack Mitchell <jack@embed.me.uk>
# Contributor: Kevin MacMartin <prurigro at gmail dot com> # Contributor: Kevin MacMartin <prurigro at gmail dot com>
pkgname=xboxdrv pkgname=xboxdrv
pkgver=0.8.8 pkgver=0.8.8
pkgrel=4 pkgrel=7
pkgdesc='Userspace gamepad driver for Linux' pkgdesc='Userspace gamepad driver for Linux'
url='http://pingus.seul.org/~grumbel/xboxdrv' url='https://xboxdrv.gitlab.io/'
arch=('i686' 'x86_64') arch=('x86_64')
license=('GPL3') license=('GPL3')
depends=('libx11' 'dbus-glib' 'libusb' 'python2-dbus' 'systemd') depends=('libx11' 'dbus-glib' 'dbus-python' 'libusb' 'systemd')
makedepends=('scons' 'boost' 'pkg-config' 'libx11' 'python') makedepends=('scons' 'boost' 'pkg-config' 'libx11' 'python')
backup=("etc/default/xboxdrv") backup=("etc/default/xboxdrv")
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xboxdrv/${pkgname}/archive/v${pkgver}.tar.gz source=(${pkgname}-${pkgver}.tar.gz::https://gitlab.com/xboxdrv/${pkgname}/-/archive/v${pkgver}/xboxdrv-v${pkgver}.tar.gz
xboxdrv.service xboxdrv.service
xboxdrv.default xboxdrv.default
fix-60-sec-delay.patch fix-60-sec-delay.patch
scons-py3.patch) scons-py3.patch
sha512sums=('3f27856da211a14e27a84fa5919da7965262adc36da16c75eed9bae891098183b5751a3e707573b4ab64e69096ea74d455e8f64827c88b38b65af94cc13b34ad' scons-v4.2.0.patch
xboxdrvctl-py3.patch)
sha512sums=('a7f4c35dbd56289fe7b24150c0452bd72fda99f01a2271b20175cb872d06798270492bee2a0a6449b43dc23593a8c1c955a0e4505186240b366f0c34cd9958a5'
'f1a4e7b1a06e951c3a4f5bcdec5f14db542b34963950619f0d4b1ee324d64b18ca2f63642719ef65a63e424702fb0eb33e0259937906732e587b96a9582c2e6b' 'f1a4e7b1a06e951c3a4f5bcdec5f14db542b34963950619f0d4b1ee324d64b18ca2f63642719ef65a63e424702fb0eb33e0259937906732e587b96a9582c2e6b'
'4f6e9a12b208254e19daba477dd7787147a8b2c8a83007d92f8cfce6212c21ce3306f23a2669080f0e46986ca102ab08c262b42c678caf1a891326b4e2c40b5f' '4f6e9a12b208254e19daba477dd7787147a8b2c8a83007d92f8cfce6212c21ce3306f23a2669080f0e46986ca102ab08c262b42c678caf1a891326b4e2c40b5f'
'58170b3f96f02e5ba0af5f6641482fb1c612ca70650e475d68b55c05a62ec0831033190b90e591d593fd6b25c2a155e6c4975f37eef1534245947156a5e3285f' '58170b3f96f02e5ba0af5f6641482fb1c612ca70650e475d68b55c05a62ec0831033190b90e591d593fd6b25c2a155e6c4975f37eef1534245947156a5e3285f'
'b3a3bbb51fa1c4ad4dd898136c3bf7c0f13193bdd07bbcb5c8243edb747c68223fe8c5bd2fd578f6c2b18844827524abb0533ce98b6e0e60fe936597cdba811d') 'b3a3bbb51fa1c4ad4dd898136c3bf7c0f13193bdd07bbcb5c8243edb747c68223fe8c5bd2fd578f6c2b18844827524abb0533ce98b6e0e60fe936597cdba811d'
'b7d9911bd52fb59f5dd655a4f81e61848ea2637ebd44768d963a525e62c4592d00f7f40d6eb4e14a184fbd0d6517df182ffb2cafd1e9a66406b86672ad63cdea'
'4e6de460523c1ddfc608b3bd6fb211a7ca0516b64a2d91e01b51deaa4fcc57d64985bb2ccfca43873efef4987e0d04741f0e97dbd6b77037a4417a97cb8d0bf9')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-v${pkgver}
sed 's|python|python2|g' -i examples/*.py sed 's|python|python2|g' -i examples/*.py
patch -p1 < "${srcdir}/fix-60-sec-delay.patch" patch -p1 < "${srcdir}/fix-60-sec-delay.patch"
# activate this patch when scons gets switched back to py3 patch -p1 < "${srcdir}/scons-py3.patch"
# patch -p1 < "${srcdir}/scons-py3.patch" patch -p1 < "${srcdir}/scons-v4.2.0.patch"
patch -p1 < "${srcdir}/xboxdrvctl-py3.patch"
} }
build() { build() {
cd ${pkgname}-${pkgver} cd ${pkgname}-v${pkgver}
scons \ scons \
LINKFLAGS="${LDFLAGS}" \ LINKFLAGS="${LDFLAGS}" \
CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" \ CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" \
@ -40,7 +46,7 @@ build() {
} }
package() { package() {
cd ${pkgname}-${pkgver} cd ${pkgname}-v${pkgver}
make PREFIX=/usr DESTDIR="${pkgdir}" install make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" install -Dm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm 644 "${srcdir}/${pkgname}.default" "${pkgdir}/etc/default/${pkgname}" install -Dm 644 "${srcdir}/${pkgname}.default" "${pkgdir}/etc/default/${pkgname}"

View File

@ -0,0 +1,39 @@
# Maintainer: Joel Grunbaum <joel@joelg.net>
# Contributer: Yangtse Su <i@yangtse.me>
_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.9.r102.ga279cc4
pkgrel=1
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64' 'armv7l')
url='https://github.com/atar-axis/xpadneo'
license=('GPL')
depends=('dkms' 'bluez' 'bluez-utils')
makedepends=('git')
conflicts=('xpadneo-dkms')
provides=('xpadneo-dkms')
source=('git+https://github.com/atar-axis/xpadneo.git')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${_pkgname}"
cd hid-xpadneo
VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
cd ..
echo "* replacing version string if necessary"
cp hid-xpadneo/dkms.conf.in hid-xpadneo/dkms.conf
sed -i 's/PACKAGE_VERSION="@DO_NOT_CHANGE@"/PACKAGE_VERSION="'$VERSION'"/g' hid-xpadneo/dkms.conf
sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install
sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_remove
echo "* copying module into /usr/src"
install -dm755 ${pkgdir}/usr/src/hid-xpadneo-${VERSION}
cp --recursive $PWD/hid-xpadneo/* ${pkgdir}/usr/src/hid-xpadneo-${VERSION}
}