1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-11-23 01:02:15 -05:00

Commit a long history of changes

This commit is contained in:
Travis Burtrum 2023-10-22 23:38:02 -04:00
parent c24dbbec3e
commit 1aa97b3411
19 changed files with 565 additions and 75 deletions

43
src/abcde/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=abcde
pkgver=2.9.3
pkgrel=5
pkgdesc='Frontend command-line utility that grabs tracks off a CD, encodes them to ogg or mp3 format, and tags them, all in one go'
arch=('any')
url='https://abcde.einval.com/'
license=('GPL')
depends=('bash' 'cd-discid' 'wget' 'vorbis-tools' 'which')
optdepends=('cdparanoia: Paranoia ripping support'
'flac: FLAC encoding support'
'glyr: album art support'
'imagemagick: album art support'
'lame: MP3 encoding support'
'opus-tools: Opus encoding support'
'python-eyed3: ID3 tag support'
'vorbisgain: Ogg Vorbis normalization support')
backup=("etc/${pkgname}.conf")
source=("https://abcde.einval.com/download/abcde-${pkgver}.tar.gz"{,.sign}
hostname.patch)
validpgpkeys=('CEBB52301D617E910390FE16587979573442684E'
'742D444A5AFAF2951EF33E7BF8FB375D9CC820B3') # Steve McIntyre, Andrew Strong
sha256sums=('046cd0bba78dd4bbdcbcf82fe625865c60df35a005482de13a6699c5a3b83124'
'SKIP'
'6b4d8e70dbd34ad269db44fdb9f63eccc448b632cfc98d1b635c3ee6a77362ad')
prepare() {
cd "${pkgname}-${pkgver}"
sed -e "s:normalize-audio:normalize:g" -i ${pkgname}
# https://bugs.archlinux.org/task/58046
sed -i 's/^#CDDBMETHOD=musicbrainz/CDDBMETHOD=cddb/' abcde.conf
# replace inetutils hostname with coreutils uname -n
patch -Np1 -i ../hostname.patch
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" prefix=/usr sysconfdir=/etc install
}

View File

@ -1,5 +1,5 @@
# Original: Maxime Poulin <maxpoulin64@gmail.com> # Original: Maxime Poulin <maxpoulin64@gmail.com>
# Maintainer: Trevor Bergeron <trevor@sec.gd> # Maintainer: Trevor Bergeron <aur@sec.gd>
# Build options (yes/no/default) # Build options (yes/no/default)
_large_network=default _large_network=default
@ -7,15 +7,16 @@ _pcre=default
_perl=default _perl=default
_contrib=default _contrib=default
_cracklib=default _cracklib=default
_ldap=no _ldap=default
_pkgname=atheme-services
pkgname=atheme pkgname=atheme
pkgver=7.2.10_r2 _pkgver="7.2.12"
_pkgver="7.2.10-r2"
pkgrel=1 pkgrel=1
pkgver="${_pkgver//-/_}"
pkgdesc="IRC services" pkgdesc="IRC services"
arch=("i686" "x86_64") arch=("i686" "x86_64")
url="http://www.atheme.org/atheme/" url="https://atheme.org/atheme.html"
license=('custom:ISC') license=('custom:ISC')
# qrencode seems to be optional at build time but with no easy way to disable # qrencode seems to be optional at build time but with no easy way to disable
# it aside from uninstalling qrencode # it aside from uninstalling qrencode
@ -32,18 +33,15 @@ backup=(
'etc/atheme/atheme.motd' 'etc/atheme/atheme.motd'
) )
install=atheme.install install=atheme.install
source=("https://github.com/atheme/atheme/releases/download/v${_pkgver}/atheme-v${_pkgver}.tar.xz" source=("https://github.com/atheme/atheme/releases/download/v${_pkgver}/${_pkgname}-v${_pkgver}.tar.xz"
"atheme.service" "atheme.service"
) )
sha256sums=('cceceb285283509c9f6dcb20eeb9b816db373a81b55fe49bc11a774b501d687d' sha256sums=('600d5ba0e25d80307818021fd9b85e49b07f245932b3c8e04e16fe312dd60fba'
'ee9ad7658434451184872c21c7fd38196d22d1dfb6b1f37bcfaf8c363d50296f') 'ee9ad7658434451184872c21c7fd38196d22d1dfb6b1f37bcfaf8c363d50296f')
pkgver() {
echo "$_pkgver" >&2
echo "$_pkgver" | tr - _
}
build() { build() {
cd "$srcdir/$_pkgname-v$_pkgver"
_configure="./configure --prefix=/usr --enable-fhs-paths" _configure="./configure --prefix=/usr --enable-fhs-paths"
_configure+=" --sysconfdir=/etc/atheme --localstatedir=/var" _configure+=" --sysconfdir=/etc/atheme --localstatedir=/var"
@ -65,6 +63,8 @@ build() {
} }
package() { package() {
cd "$srcdir/$_pkgname-v$_pkgver"
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install
install -Dm0644 "$srcdir/atheme.service" "$pkgdir/usr/lib/systemd/system/atheme.service" install -Dm0644 "$srcdir/atheme.service" "$pkgdir/usr/lib/systemd/system/atheme.service"

24
src/cd-discid/PKGBUILD Normal file
View File

@ -0,0 +1,24 @@
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=cd-discid
pkgver=1.4
pkgrel=3
pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc"
arch=('x86_64')
url="http://linukz.org/cd-discid.shtml"
license=('GPL')
depends=('glibc')
source=("http://linukz.org/download/${pkgname}-${pkgver}.tar.gz")
sha512sums=('04f3962f7f3f0780c41b2f361397b54efe9c9748643d83311d63f7476d28f9bd295b96dd81f06df2c1e7d6ef095c6732107101c0fb7375fa521f4db67a3984da')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" PREFIX=/usr STRIP="/usr/bin/true" install
}

43
src/cpuid/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
#
# PKGBUILD: cpuid
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
# Past Maintainer: Jianing Yang <jianingy.yang @gmail.com>
# Contributor: David Zaragoza <david@zaragoza.com.ve>
pkgname=cpuid
pkgver=20230614
pkgrel=1
pkgdesc="Linux tool to dump x86 CPUID information about the CPU(s)"
url="http://www.etallen.com/cpuid.html"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('perl')
depends=('glibc' 'perl')
groups=('system')
source=("http://www.etallen.com/$pkgname/${pkgname}-${pkgver}.src.tar.gz")
sha256sums=('b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8')
#
#
#
build()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
# pod2man: /usr/bin/core_perl/ is not always in path - minimize error reports by setting PATH
PATH=${PATH}:/usr/bin/core_perl/
make || exit 1
}
#
#
#
package()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
make BUILDROOT=${pkgdir} install || exit 1
}
#
# EOF
#

View File

@ -12,8 +12,8 @@ depends=('glib2>=2.38' 'glib-networking' 'gtk4' 'gpgme'
'libgee>=0.10' 'libgcrypt' 'libsoup3' 'sqlite' 'qrencode' 'libgee>=0.10' 'libgcrypt' 'libsoup3' 'sqlite' 'qrencode'
'libsignal-protocol-c' 'gspell' 'gst-plugins-base' 'libsignal-protocol-c' 'gspell' 'gst-plugins-base'
'gst-plugins-good' 'gst-plugin-gtk' 'webrtc-audio-processing' 'gst-plugins-good' 'gst-plugin-gtk' 'webrtc-audio-processing'
'libnice' 'libsrtp' libadwaita) 'libnice' 'libsrtp' 'libadwaita')
makedepends=('git' 'cmake' 'vala>=0.34' 'ninja' ttf-liberation) makedepends=('git' 'cmake' 'vala>=0.34' 'ninja')
optdepends=('libcanberra: audio notification support') optdepends=('libcanberra: audio notification support')
provides=("${pkgname%-git}") provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}") conflicts=("${pkgname%-git}")

View File

@ -1,49 +1,90 @@
# Maintainer: Maxime Poulin <maxpoulin64@gmail.com> # Maintainer: Maxime Poulin <maxpoulin64@gmail.com>
# Co-Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Christian Pfeiffer
# Contributor: Damian Nowak <damian.nowak@atlashost.eu> # Contributor: Damian Nowak <damian.nowak@atlashost.eu>
# Contributor: Kyle Fuller <inbox@kylefuller.co.uk> # Contributor: Kyle Fuller <inbox@kylefuller.co.uk>
# Contributor: jibi <jibi@paranoici.org> # Contributor: jibi <jibi@paranoici.org>
# Co-Maintainer: TheGoliath <contact@xdfr.de>
pkgname='inspircd' pkgname='inspircd'
pkgver='3.5.0' pkgver='3.16.1'
pkgrel='1' pkgrel='2'
pkgdesc='A modular C++ IRC daemon (ircd).' pkgdesc='InspIRCd is a modular Internet Relay Chat (IRC) server written in C++ for Linux, BSD, Windows and macOS systems.'
arch=('any') arch=('x86_64' 'aarch64')
url='http://www.inspircd.org/' url='https://www.inspircd.org/'
license=('GPL2') license=('GPL2')
conflicts=('inspircd') conflicts=('inspircd')
provides=('inspircd') provides=('inspircd')
depends=('perl') depends=('perl')
makedepends=('pkgconf' 'libmariadbclient' 'sqlite3' 'libldap' 'geoip' makedepends=(
'gnutls' 'openssl' 'libgcrypt') 'libmariadbclient'
optdepends=('gnutls: m_ssl_gnutls' 'sqlite3'
'libgcrypt: m_ssl_gnutls' 'libldap'
'openssl: m_ssl_openssl' 'geoip'
'libmariadbclient: m_mysql' 'libmaxminddb'
'pcre: m_regex_pcre' 'gnutls'
'sqlite3: m_sqlite3' 'openssl'
'libldap: m_ldapoper and m_ldapauth' 'libgcrypt'
'geoip: m_geoip') 'postgresql-client'
're2'
'tre'
'pcre'
'mbedtls'
'pkg-config'
)
optdepends=(
'gnutls: m_ssl_gnutls'
'libgcrypt: m_ssl_gnutls'
'openssl: m_ssl_openssl'
'libmariadbclient: m_mysql'
'postgresql-client: m_pgsql'
'libmaxminddb: m_geo_maxmind'
'pcre: m_regex_pcre'
'sqlite3: m_sqlite3'
'libldap: m_ldap'
'geoip: m_geoip'
're2: m_regex_re2'
'tre: m_regex_tre'
'mbedtls: m_ssl_mbedtls')
install='inspircd.install' install='inspircd.install'
source=("https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz"
'inspircd.service') source=(
sha512sums=('64e7be4b013c418577362b33be73b8f7045f1071ccb2c4e83fdf1a96b98656a3541e20c005bc32532007da21d9ba963f534cd14d16c2e1cf8afcf34b22ffad8c' "https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz"
'5a16a7c237693ffc6a108358f339b6aa2451fb16430561848ae869f890199b38fab6a13640bcc35cf1d07e32d7e5fff405d88668ee05ddaffc2ef61cb42ee832') "$pkgname.service"
"$pkgname.sysusers"
)
sha512sums=(
'2b488858b0012bcb3eb92a33960e9927c861587c7b7451a47fd3e10a97fad9c392524d98712593fd455c5cbae7fd1779e4b90b9e55680c2f36b483e0acf2bba5'
'5a16a7c237693ffc6a108358f339b6aa2451fb16430561848ae869f890199b38fab6a13640bcc35cf1d07e32d7e5fff405d88668ee05ddaffc2ef61cb42ee832'
'90e7ae20a0d13cef2ff00c56382ea5cf1ed8843228937c49cab7fe0e2a34d02b9fac20dd55c6cd5e79533b5764a9d10d19e26b043a2d9c98a4384a7e1c2859c4'
)
prepare() {
cd "${srcdir}/inspircd-${pkgver}"
sed -i -e s/-lldap_r/-lldap/g src/modules/extra/m_ldap.cpp
}
build() { build() {
cd "${srcdir}/inspircd-${pkgver}" cd "${srcdir}/inspircd-${pkgver}"
./configure \ ./configure \
--enable-extras=m_geoip.cpp \ --enable-extras=m_geo_maxmind.cpp \
--enable-extras=m_ldapauth.cpp \ --enable-extras=m_ldap.cpp \
--enable-extras=m_ldapoper.cpp \
--enable-extras=m_mysql.cpp \ --enable-extras=m_mysql.cpp \
--enable-extras=m_pgsql.cpp \
--enable-extras=m_regex_pcre.cpp \ --enable-extras=m_regex_pcre.cpp \
--enable-extras=m_regex_posix.cpp \ --enable-extras=m_regex_posix.cpp \
--enable-extras=m_sqlite3.cpp --enable-extras=m_regex_stdlib.cpp \
--enable-extras=m_regex_re2.cpp \
--enable-extras=m_regex_tre.cpp \
--enable-extras=m_sqlite3.cpp \
--enable-extras=m_ssl_gnutls.cpp \
--enable-extras=m_ssl_openssl.cpp \
--enable-extras=m_ssl_mbedtls.cpp \
--enable-extras=m_sslrehashsignal.cpp
./configure \ ./configure \
--uid=0 \ --uid=0 \
--gid=0 \
--prefix=/usr/lib/inspircd \ --prefix=/usr/lib/inspircd \
--binary-dir=/usr/bin \ --binary-dir=/usr/bin \
--module-dir=/usr/lib/inspircd/modules \ --module-dir=/usr/lib/inspircd/modules \
@ -51,25 +92,20 @@ build() {
--data-dir=/var/lib/inspircd \ --data-dir=/var/lib/inspircd \
--log-dir=/var/log/inspircd \ --log-dir=/var/log/inspircd \
--distribution-label=archlinux --distribution-label=archlinux
make make
} }
package() { package() {
install -Dm644 "${srcdir}"/inspircd.service "${pkgdir}"/usr/lib/systemd/system/inspircd.service install -Dm644 "${srcdir}/$pkgname.service" "${pkgdir}"/usr/lib/systemd/system/inspircd.service
install -o141 -g141 -dm750 "${pkgdir}/var/log/inspircd" "${pkgdir}/var/lib/inspircd" install -Dm644 "${srcdir}/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -dm750 "${pkgdir}/var/log/inspircd" "${pkgdir}/var/lib/inspircd"
cd "${srcdir}/inspircd-${pkgver}" cd "${srcdir}/inspircd-${pkgver}"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
mkdir -p "${pkgdir}"/usr/share/inspircd mkdir -p "${pkgdir}"/usr/share/inspircd
mv "${pkgdir}"/etc/inspircd/examples "${pkgdir}"/usr/share/inspircd/examples mv "${pkgdir}"/etc/inspircd/examples "${pkgdir}"/usr/share/inspircd/examples
rm -rf "${pkgdir}"/usr/lib/inspircd/logs
rm -rf "${pkgdir}"/usr/lib/inspircd/data
# Warn about major upgrade
echo "Version 3 is a major upgrade!"
echo "Please consult https://docs.inspircd.org/3/configuration-changes/"
echo "for configuration changes and add them accordingly"
rm -rf "${pkgdir}"/usr/lib/inspircd/logs
rm -rf "${pkgdir}"/usr/lib/inspircd/data
} }

View File

@ -1,10 +1,6 @@
create_user() {
getent group inspircd &>/dev/null || groupadd -r -g 141 inspircd >/dev/null
getent passwd inspircd &>/dev/null || useradd -r -u 141 -g inspircd -d /var/lib/inspircd -s /bin/false inspircd >/dev/null
}
post_install() { post_install() {
create_user getent passwd inspircd &>/dev/null && userdel inspircd
echo '==> You will need to create a config file for inspircd' echo '==> You will need to create a config file for inspircd'
echo '==> cp /usr/share/inspircd/examples/inspircd.conf.example /etc/inspircd/inspircd.conf' echo '==> cp /usr/share/inspircd/examples/inspircd.conf.example /etc/inspircd/inspircd.conf'
echo '==> You will need to change the pidfile. To do this you can insert the following into your config.' echo '==> You will need to change the pidfile. To do this you can insert the following into your config.'
@ -12,10 +8,6 @@ post_install() {
echo '==> Remember to use absolute paths in your config directory and not relative paths like you would do with a user-based inspircd install.' echo '==> Remember to use absolute paths in your config directory and not relative paths like you would do with a user-based inspircd install.'
} }
post_upgrade() {
create_user
}
post_remove() { post_remove() {
getent passwd inspircd &>/dev/null && userdel inspircd getent passwd inspircd &>/dev/null && userdel inspircd
} }

View File

@ -0,0 +1,41 @@
# Author: futpib <futpib@gmail.com>
_gitname=kded_rotation
pkgname=kded-rotation-git
pkgver=r26.fac175b
pkgrel=1
pkgdesc='KDED module for handling automatic screen rotation (WIP) '
arch=(i686 x86_64)
url='https://github.com/dos1/kded_rotation'
license=(GPL2 GPL3)
depends=(kded iio-sensor-proxy xorg-xrandr xorg-xinput qt5-sensors)
makedepends=(extra-cmake-modules git)
conflicts=()
source=("git+https://github.com/dos1/$_gitname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$_gitname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
chmod +x "$pkgdir"/usr/bin/*
}

29
src/libgbinder/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libgbinder
pkgver=1.1.34
pkgrel=1
pkgdesc="GLib-style interface to binder"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/mer-hybris/libgbinder.git"
license=('BSD')
depends=('libglibutil' 'glib2')
makedepends=('git')
_commit="62b9b30865b65886a5808ab8087194fcca163c90" # tags/1.1.34
source=(${pkgname}::git+https://github.com/mer-hybris/libgbinder.git#commit=${_commit})
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd ${pkgname}
make KEEP_SYMBOLS=1 release pkgconfig
}
package() {
cd ${pkgname}
make install-dev DESTDIR="${pkgdir}"
}

29
src/libglibutil/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libglibutil
pkgver=1.0.71
pkgrel=1
pkgdesc="Library of glib utilities"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/sailfishos/libglibutil"
license=('BSD')
depends=('glib2')
makedepends=('git')
_commit="2e561fa6e8e6aa9e19813c6c02cd64b0e0b3017a" # tags/1.0.71
source=(${pkgname}::git+https://github.com/sailfishos/libglibutil.git#commit=${_commit})
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd ${pkgname}
make KEEP_SYMBOLS=1 release pkgconfig
}
package() {
cd ${pkgname}
make install-dev DESTDIR="${pkgdir}"
}

39
src/python-eyed3/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: Amish <contact at via dot aur>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
# Contributor: cdhotfire <cdhotfire@gmail.com>
pkgname=python-eyed3
pkgver=0.9.7
#_eyed3_gitrev=6ae1554
pkgrel=1
pkgdesc="A Python module and program for processing information about mp3 files"
arch=('any')
url="http://eyed3.nicfit.net/"
license=('GPL')
makedepends=('python-setuptools')
depends=('python-deprecation' 'python-filetype' 'python-packaging' 'python-requests' 'python-yaml')
checkdepends=('python-factory-boy' 'python-pytest')
#source=("eyed3-${pkgver}-${_eyed3_gitrev}.tar.gz::https://github.com/nicfit/eyeD3/archive/${_eyed3_gitrev}.tar.gz"
source=("eyed3-${pkgver}.tar.gz::https://github.com/nicfit/eyeD3/archive/refs/tags/v${pkgver}.tar.gz"
'http://eyed3.nicfit.net/releases/eyeD3-test-data.tgz')
sha256sums=('808f2d376b585ff13c35f614b970f3392c0f15de191c5a96c6b04532bf2217ec'
'b7cd2fe8d7114f597dbe1e06c11587af566cf92f640cef9af6408a824face37f')
options=(!emptydirs)
build() {
cd "eyeD3-${pkgver}"
python setup.py build
}
check() {
cd "eyeD3-${pkgver}"
ln -s "${srcdir}"/eyeD3-test-data.tgz tests/
make test-data
python -m pytest
}
package() {
cd "eyeD3-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}

View File

@ -0,0 +1,33 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=python-gbinder
pkgver=1.1.1
pkgrel=4
pkgdesc="Python bindings for libgbinder"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/erfanoabdi/gbinder-python"
license=('GPL')
depends=('libgbinder')
makedepends=('git' 'python-setuptools' 'cython0')
_commit="423dc366561c82515f4f2f46017535e7d81ce5b1"
source=(${pkgname}::git+https://github.com/erfanoabdi/gbinder-python.git#commit=${_commit})
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd ${pkgname}
}
build() {
cd ${pkgname}
python3 setup.py build --cython
}
package() {
cd ${pkgname}
python3 setup.py install --prefix=/usr --root="$pkgdir"
}

View File

@ -0,0 +1,28 @@
# Maintainer: Imperator Storm <ImperatorStorm11@protonmail.com>
# Contributor: Philip Goto <philip.goto@gmail.com>
_pkgname=pyclip
pkgname=python-${_pkgname}
pkgver=0.7.0
pkgrel=3
pkgdesc='Cross-platform clipboard utilities supporting both binary and text data'
arch=(any)
url="https://pypi.org/project/${_pkgname}/"
license=(Apache)
depends=(python)
makedepends=(python-setuptools)
optdepends=('xclip: Support for X11'
'wl-clipboard: Support for Wayland')
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/spyoungtech/pyclip/archive/refs/tags/v${pkgver}.tar.gz")
b2sums=('281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618')
build() {
cd "${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

20
src/revoco2/PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
pkgname=revoco2
pkgver=1.0
pkgrel=1
pkgdesc="Change the wheel behaviour of Logitech's MX-Revolution mouse. Now supports bluetooth"
arch=('i686' 'x86_64')
url="https://github.com/tech2077/revoco2"
makedepends=(git)
license=()
source=('git+https://github.com/tech2077/revoco2.git')
md5sums=('SKIP')
build() {
cd $srcdir/$pkgname
make || return 1
}
package() {
cd $srcdir/$pkgname
install -D -m755 revoco $pkgdir/usr/bin/revoco
}

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

@ -0,0 +1,36 @@
# Maintainer: Abhishek "Abh15h3k" Banerji <abhishekbanerji1999@gmail.com>
# Contributor: Daniel "dtubber" Wanner <daniel.wanner@tubber.xyz>
pkgname="ryzenadj-git"
pkgver=0.13.0.r16.g4b558e7
pkgrel=1
pkgdesc="RyzenAdj tool for adjusting Ryzen Mobile power states"
url="https://github.com/FlyGoat/RyzenAdj"
arch=("x86_64")
depends=("pciutils")
makedepends=("git" "cmake")
optdepends=("ryzen_smu-dkms-git: (AUR) kernel module needed to access pm_table on systems with strict memory access policy")
license=("LGPL3")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://github.com/FlyGoat/RyzenAdj")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
mkdir build -p && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dsm 755 build/ryzenadj $pkgdir/usr/bin/ryzenadj
install -Dsm 744 build/libryzenadj.so $pkgdir/usr/lib/libryzenadj.so
install -Dm 744 lib/ryzenadj.h $pkgdir/usr/include/ryzenadj.h
}

View File

@ -0,0 +1,35 @@
# Maintainer: Cybafunk Monkey <cybafunk-monkey@posteo.eu>
_pkgname=Sparrow
pkgname=sparrow-wallet
pkgver=1.7.4
pkgrel=1
pkgdesc="Bitcoin wallet with pro functionalities like single- and multisig, Transaction Editor, built-in Tor, connection to private Electrum and much more. Different Hardware Wallets like Trezor and BitBox supported."
arch=('x86_64')
url="https://sparrowwallet.com/"
license=('Apache')
depends=('hicolor-icon-theme' 'alsa-lib' 'libxtst' 'libxrender' 'java-runtime' 'freetype2')
makedepends=('p7zip' 'gendesk')
validpgpkeys=('D4D0D3202FC06849A257B38DE94618334C674B40')
source=("https://github.com/sparrowwallet/sparrow/releases/download/$pkgver/sparrow-$pkgver-$CARCH.tar.gz")
sha256sums=('cbe5f8d23bb57a0fe32528bc9c7493432fe22b97ef008bdf1e4ebf9158663922')
prepare() {
# Comment
gendesk --pkgname "${_pkgname}" --pkgdesc "$pkgdesc" --name=$_pkgname --exec="/usr/bin/"${_pkgname} -n --categories="Utility;Finance;"
}
package() {
install -dm755 "${pkgdir}"/opt/${pkgname}/lib/
install -dm755 "${pkgdir}"/usr/bin/
cp -a "${srcdir}"/${_pkgname}/bin "${pkgdir}"/opt/${pkgname}/
cp -a "${srcdir}"/${_pkgname}/lib/app "${pkgdir}"/opt/${pkgname}/lib/
cp -a "${srcdir}"/${_pkgname}/lib/runtime "${pkgdir}"/opt/${pkgname}/lib/
cp -a "${srcdir}"/${_pkgname}/lib/*.so "${pkgdir}"/opt/${pkgname}/lib/
install -Dm644 "${srcdir}"/${_pkgname}/lib/${_pkgname}.png -t "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/
install -Dm644 "${srcdir}"/${_pkgname}.desktop "${pkgdir}"/usr/share/applications/${_pkgname,,}-wallet.desktop
ln -s "/opt/$pkgname/bin/${_pkgname}" "${pkgdir}"/usr/bin/
}

View File

@ -1,28 +1,33 @@
# Maintainer: Ben Goldberg <benaaron.dev> # Maintainer: Sashanoraa <sasha@noraa.gay>
pkgname=stargazer-gmi pkgname=stargazer-gmi
pkgver=0.4.0 pkgver=1.0.5
pkgrel=1 pkgrel=1
pkgdesc="stargzer gemini server" pkgdesc="stargzer gemini server"
arch=('x86_64' 'i686' 'arm' 'armv7h' 'aarch64') arch=('x86_64' 'i686' 'arm' 'armv7h' 'aarch64')
url="https://sr.ht/~zethra/stargazer/" url="https://sr.ht/~zethra/stargazer/"
license=('AGPL-3.0') license=('AGPL3')
source=("https://git.sr.ht/~zethra/stargazer/archive/$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~zethra/stargazer/archive/$pkgver.tar.gz")
depends=('gcc-libs') depends=('gcc-libs')
makedepends=('rust' 'cargo' 'scdoc' 'binutils') makedepends=('rust' 'scdoc')
sha256sums=("9bdb6f5be46515720683aa25c40364df11e794f5537bb7f3b1c5a819a3882f7f") sha256sums=('128a6c34ad300806aa846b482e0fdd6e2b7c519733429b7a9184174da1d3f6aa')
prepare() {
cd "stargazer-$pkgver"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() { build() {
tar -xf $pkgver.tar.gz cd "stargazer-$pkgver"
cd "$srcdir/stargazer-$pkgver" CGFLAGS='--locked --release' ./scripts/build
./scripts/build
} }
package() { package() {
cd "$srcdir/stargazer-$pkgver" cd "stargazer-$pkgver"
source ./scripts/install --prefix="$pkgdir/usr" \ source ./scripts/install --prefix="$pkgdir/usr" \
--sysconfdir="$pkgdir/etc" \ --sysconfdir="$pkgdir/etc" \
--bashdir="$pkgdir/usr/share/bash-completion/completions" \ --bashdir="$pkgdir/usr/share/bash-completion/completions" \
--zshdir="$pkgdir/usr/share/zsh/site-functions" \ --zshdir="$pkgdir/usr/share/zsh/site-functions" \
--fishdir="$pkgdir/usr/share/fish/vendor_completions.d" --fishdir="$pkgdir/usr/share/fish/vendor_completions.d"
install -Dm644 ./contrib/init/stargazer.service "$pkgdir/usr/lib/systemd/system/stargazer.service"
} }

31
src/tablet-mode/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann period de>
pkgname='tablet-mode'
pkgver=2.2.0
pkgrel=2
pkgdesc='Tools to toggle a convertible laptop between laptop and tablet mode'
arch=('any')
url="https://github.com/coNQP/${pkgname}"
license=('GPLv3')
depends=('adwaita-icon-theme' 'evtest' 'libnotify' 'python' 'python-setuptools' 'systemd')
optdepends=('sudo: privilege elevation' 'doas: privilege elevation')
makedepends=('git' 'python-setuptools-scm')
source=("git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "${pkgname}"
python setup.py build
}
package() {
cd "${pkgname}"
python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
install -dm 755 "${pkgdir}/etc"
install -dm 750 "${pkgdir}/etc/sudoers.d"
install -m 640 tablet-mode.sudoers "${pkgdir}/etc/sudoers.d/tablet-mode"
install -Dm 644 tablet-mode.service "${pkgdir}/usr/lib/systemd/system/tablet-mode.service"
install -Dm 644 laptop-mode.service "${pkgdir}/usr/lib/systemd/system/laptop-mode.service"
install -Dm 644 tablet-mode.group "${pkgdir}/usr/lib/sysusers.d/tablet-mode.conf"
install -Dm 644 tablet-mode.desktop "${pkgdir}/usr/share/applications/tablet-mode.desktop"
}

26
src/waydroid/PKGBUILD Normal file
View File

@ -0,0 +1,26 @@
# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>
pkgname=waydroid
pkgver=1.4.1
pkgrel=1
pkgdesc="A container-based approach to boot a full Android system on a regular Linux system"
arch=('any')
url='https://waydro.id/'
license=('GPL')
depends=('lxc' 'python-gbinder' 'python-gobject' 'nftables' 'dnsmasq' 'gtk3' 'dbus-python')
makedepends=('git')
optdepends=('python-pyclip: share clipboard with container')
_commit="7ce2e28e8ea76c1e79b273d122921c1f394e842f" # tags/1.4.1
source=("waydroid::git+https://github.com/waydroid/waydroid.git#commit=$_commit")
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//;s/-/+/g'
}
package() {
make -C waydroid install DESTDIR="$pkgdir" USE_NFTABLES=1
}
sha256sums=('SKIP')