From 1aa97b34119718e77630d5d1c22d81aab58355d3 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Sun, 22 Oct 2023 23:38:02 -0400 Subject: [PATCH] Commit a long history of changes --- src/abcde/PKGBUILD | 43 ++++++++++++ src/atheme/PKGBUILD | 24 +++---- src/cd-discid/PKGBUILD | 24 +++++++ src/cpuid/PKGBUILD | 43 ++++++++++++ src/dino-git/PKGBUILD | 4 +- src/inspircd/PKGBUILD | 120 +++++++++++++++++++++------------ src/inspircd/inspircd.install | 10 +-- src/kded-rotation-git/PKGBUILD | 41 +++++++++++ src/libgbinder/PKGBUILD | 29 ++++++++ src/libglibutil/PKGBUILD | 29 ++++++++ src/python-eyed3/PKGBUILD | 39 +++++++++++ src/python-gbinder/PKGBUILD | 33 +++++++++ src/python-pyclip/PKGBUILD | 28 ++++++++ src/revoco2/PKGBUILD | 20 ++++++ src/ryzenadj-git/PKGBUILD | 36 ++++++++++ src/sparrow-wallet/PKGBUILD | 35 ++++++++++ src/stargazer-gmi/PKGBUILD | 25 ++++--- src/tablet-mode/PKGBUILD | 31 +++++++++ src/waydroid/PKGBUILD | 26 +++++++ 19 files changed, 565 insertions(+), 75 deletions(-) create mode 100644 src/abcde/PKGBUILD create mode 100644 src/cd-discid/PKGBUILD create mode 100644 src/cpuid/PKGBUILD create mode 100644 src/kded-rotation-git/PKGBUILD create mode 100644 src/libgbinder/PKGBUILD create mode 100644 src/libglibutil/PKGBUILD create mode 100644 src/python-eyed3/PKGBUILD create mode 100644 src/python-gbinder/PKGBUILD create mode 100644 src/python-pyclip/PKGBUILD create mode 100644 src/revoco2/PKGBUILD create mode 100644 src/ryzenadj-git/PKGBUILD create mode 100644 src/sparrow-wallet/PKGBUILD create mode 100644 src/tablet-mode/PKGBUILD create mode 100644 src/waydroid/PKGBUILD diff --git a/src/abcde/PKGBUILD b/src/abcde/PKGBUILD new file mode 100644 index 0000000..06a6d04 --- /dev/null +++ b/src/abcde/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: Jochem Kossen +# Contributor: Kevin Piche +# Contributor: Daniel J Griffiths +# Maintainer: schuay + +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 +} + diff --git a/src/atheme/PKGBUILD b/src/atheme/PKGBUILD index d4a9580..2294f5a 100644 --- a/src/atheme/PKGBUILD +++ b/src/atheme/PKGBUILD @@ -1,5 +1,5 @@ # Original: Maxime Poulin -# Maintainer: Trevor Bergeron +# Maintainer: Trevor Bergeron # Build options (yes/no/default) _large_network=default @@ -7,15 +7,16 @@ _pcre=default _perl=default _contrib=default _cracklib=default -_ldap=no +_ldap=default +_pkgname=atheme-services pkgname=atheme -pkgver=7.2.10_r2 -_pkgver="7.2.10-r2" +_pkgver="7.2.12" pkgrel=1 +pkgver="${_pkgver//-/_}" pkgdesc="IRC services" arch=("i686" "x86_64") -url="http://www.atheme.org/atheme/" +url="https://atheme.org/atheme.html" license=('custom:ISC') # qrencode seems to be optional at build time but with no easy way to disable # it aside from uninstalling qrencode @@ -32,18 +33,15 @@ backup=( 'etc/atheme/atheme.motd' ) 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" ) -sha256sums=('cceceb285283509c9f6dcb20eeb9b816db373a81b55fe49bc11a774b501d687d' +sha256sums=('600d5ba0e25d80307818021fd9b85e49b07f245932b3c8e04e16fe312dd60fba' 'ee9ad7658434451184872c21c7fd38196d22d1dfb6b1f37bcfaf8c363d50296f') -pkgver() { - echo "$_pkgver" >&2 - echo "$_pkgver" | tr - _ -} - build() { + cd "$srcdir/$_pkgname-v$_pkgver" + _configure="./configure --prefix=/usr --enable-fhs-paths" _configure+=" --sysconfdir=/etc/atheme --localstatedir=/var" @@ -65,6 +63,8 @@ build() { } package() { + cd "$srcdir/$_pkgname-v$_pkgver" + make DESTDIR="$pkgdir/" install install -Dm0644 "$srcdir/atheme.service" "$pkgdir/usr/lib/systemd/system/atheme.service" diff --git a/src/cd-discid/PKGBUILD b/src/cd-discid/PKGBUILD new file mode 100644 index 0000000..309393b --- /dev/null +++ b/src/cd-discid/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: +# Contributor: dorphell +# Contributor: Jochem Kossen + +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 +} diff --git a/src/cpuid/PKGBUILD b/src/cpuid/PKGBUILD new file mode 100644 index 0000000..5dbbaa3 --- /dev/null +++ b/src/cpuid/PKGBUILD @@ -0,0 +1,43 @@ +# +# PKGBUILD: cpuid +# +# Maintainer: Uffe Jakobsen +# Past Maintainer: Jianing Yang +# Contributor: David Zaragoza + +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 +# diff --git a/src/dino-git/PKGBUILD b/src/dino-git/PKGBUILD index 80abaf8..aa01f6b 100644 --- a/src/dino-git/PKGBUILD +++ b/src/dino-git/PKGBUILD @@ -12,8 +12,8 @@ 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) + 'libnice' 'libsrtp' 'libadwaita') +makedepends=('git' 'cmake' 'vala>=0.34' 'ninja') optdepends=('libcanberra: audio notification support') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") diff --git a/src/inspircd/PKGBUILD b/src/inspircd/PKGBUILD index ae8c1a7..964f8f4 100644 --- a/src/inspircd/PKGBUILD +++ b/src/inspircd/PKGBUILD @@ -1,49 +1,90 @@ # Maintainer: Maxime Poulin +# Co-Maintainer: Felix Golatofski +# Contributor: Christian Pfeiffer # Contributor: Damian Nowak # Contributor: Kyle Fuller # Contributor: jibi -# Co-Maintainer: TheGoliath pkgname='inspircd' -pkgver='3.5.0' -pkgrel='1' -pkgdesc='A modular C++ IRC daemon (ircd).' -arch=('any') -url='http://www.inspircd.org/' +pkgver='3.16.1' +pkgrel='2' +pkgdesc='InspIRCd is a modular Internet Relay Chat (IRC) server written in C++ for Linux, BSD, Windows and macOS systems.' +arch=('x86_64' 'aarch64') +url='https://www.inspircd.org/' license=('GPL2') conflicts=('inspircd') provides=('inspircd') depends=('perl') -makedepends=('pkgconf' 'libmariadbclient' 'sqlite3' 'libldap' 'geoip' - 'gnutls' 'openssl' 'libgcrypt') -optdepends=('gnutls: m_ssl_gnutls' - 'libgcrypt: m_ssl_gnutls' - 'openssl: m_ssl_openssl' - 'libmariadbclient: m_mysql' - 'pcre: m_regex_pcre' - 'sqlite3: m_sqlite3' - 'libldap: m_ldapoper and m_ldapauth' - 'geoip: m_geoip') +makedepends=( + 'libmariadbclient' + 'sqlite3' + 'libldap' + 'geoip' + 'libmaxminddb' + 'gnutls' + 'openssl' + 'libgcrypt' + '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' -source=("https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz" - 'inspircd.service') -sha512sums=('64e7be4b013c418577362b33be73b8f7045f1071ccb2c4e83fdf1a96b98656a3541e20c005bc32532007da21d9ba963f534cd14d16c2e1cf8afcf34b22ffad8c' - '5a16a7c237693ffc6a108358f339b6aa2451fb16430561848ae869f890199b38fab6a13640bcc35cf1d07e32d7e5fff405d88668ee05ddaffc2ef61cb42ee832') + +source=( + "https://github.com/inspircd/inspircd/archive/v$pkgver.tar.gz" + "$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() { - cd "${srcdir}/inspircd-${pkgver}" + cd "${srcdir}/inspircd-${pkgver}" - ./configure \ - --enable-extras=m_geoip.cpp \ - --enable-extras=m_ldapauth.cpp \ - --enable-extras=m_ldapoper.cpp \ + ./configure \ + --enable-extras=m_geo_maxmind.cpp \ + --enable-extras=m_ldap.cpp \ --enable-extras=m_mysql.cpp \ + --enable-extras=m_pgsql.cpp \ --enable-extras=m_regex_pcre.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 \ + --gid=0 \ --prefix=/usr/lib/inspircd \ --binary-dir=/usr/bin \ --module-dir=/usr/lib/inspircd/modules \ @@ -51,25 +92,20 @@ build() { --data-dir=/var/lib/inspircd \ --log-dir=/var/log/inspircd \ --distribution-label=archlinux - make + make } package() { - install -Dm644 "${srcdir}"/inspircd.service "${pkgdir}"/usr/lib/systemd/system/inspircd.service - install -o141 -g141 -dm750 "${pkgdir}/var/log/inspircd" "${pkgdir}/var/lib/inspircd" + install -Dm644 "${srcdir}/$pkgname.service" "${pkgdir}"/usr/lib/systemd/system/inspircd.service + 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}" - make DESTDIR="$pkgdir" install + cd "${srcdir}/inspircd-${pkgver}" + make DESTDIR="$pkgdir" install - mkdir -p "${pkgdir}"/usr/share/inspircd - 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" + mkdir -p "${pkgdir}"/usr/share/inspircd + mv "${pkgdir}"/etc/inspircd/examples "${pkgdir}"/usr/share/inspircd/examples + rm -rf "${pkgdir}"/usr/lib/inspircd/logs + rm -rf "${pkgdir}"/usr/lib/inspircd/data } diff --git a/src/inspircd/inspircd.install b/src/inspircd/inspircd.install index 997f72d..4cd15f2 100644 --- a/src/inspircd/inspircd.install +++ b/src/inspircd/inspircd.install @@ -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() { - create_user + getent passwd inspircd &>/dev/null && userdel 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 '==> 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.' } -post_upgrade() { - create_user -} - post_remove() { getent passwd inspircd &>/dev/null && userdel inspircd } diff --git a/src/kded-rotation-git/PKGBUILD b/src/kded-rotation-git/PKGBUILD new file mode 100644 index 0000000..9a19ce4 --- /dev/null +++ b/src/kded-rotation-git/PKGBUILD @@ -0,0 +1,41 @@ +# Author: futpib + +_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/* +} diff --git a/src/libgbinder/PKGBUILD b/src/libgbinder/PKGBUILD new file mode 100644 index 0000000..8cb0885 --- /dev/null +++ b/src/libgbinder/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Danct12 + +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}" +} diff --git a/src/libglibutil/PKGBUILD b/src/libglibutil/PKGBUILD new file mode 100644 index 0000000..afd07ba --- /dev/null +++ b/src/libglibutil/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Danct12 + +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}" +} diff --git a/src/python-eyed3/PKGBUILD b/src/python-eyed3/PKGBUILD new file mode 100644 index 0000000..88989ee --- /dev/null +++ b/src/python-eyed3/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Amish +# Contributor: Aaron Griffin +# Contributor: Federico Quagliata (quaqo) +# Contributor: cdhotfire + +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 +} diff --git a/src/python-gbinder/PKGBUILD b/src/python-gbinder/PKGBUILD new file mode 100644 index 0000000..1441730 --- /dev/null +++ b/src/python-gbinder/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Danct12 + +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" +} diff --git a/src/python-pyclip/PKGBUILD b/src/python-pyclip/PKGBUILD new file mode 100644 index 0000000..09dfd85 --- /dev/null +++ b/src/python-pyclip/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Imperator Storm +# Contributor: Philip Goto + +_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" +} diff --git a/src/revoco2/PKGBUILD b/src/revoco2/PKGBUILD new file mode 100644 index 0000000..b3677d0 --- /dev/null +++ b/src/revoco2/PKGBUILD @@ -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 +} diff --git a/src/ryzenadj-git/PKGBUILD b/src/ryzenadj-git/PKGBUILD new file mode 100644 index 0000000..d041948 --- /dev/null +++ b/src/ryzenadj-git/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Abhishek "Abh15h3k" Banerji +# Contributor: Daniel "dtubber" Wanner + +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 +} diff --git a/src/sparrow-wallet/PKGBUILD b/src/sparrow-wallet/PKGBUILD new file mode 100644 index 0000000..5ab2534 --- /dev/null +++ b/src/sparrow-wallet/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Cybafunk Monkey + +_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/ +} \ No newline at end of file diff --git a/src/stargazer-gmi/PKGBUILD b/src/stargazer-gmi/PKGBUILD index cfb654b..64b5e65 100644 --- a/src/stargazer-gmi/PKGBUILD +++ b/src/stargazer-gmi/PKGBUILD @@ -1,28 +1,33 @@ -# Maintainer: Ben Goldberg +# Maintainer: Sashanoraa pkgname=stargazer-gmi -pkgver=0.4.0 +pkgver=1.0.5 pkgrel=1 pkgdesc="stargzer gemini server" arch=('x86_64' 'i686' 'arm' 'armv7h' 'aarch64') url="https://sr.ht/~zethra/stargazer/" -license=('AGPL-3.0') -source=("https://git.sr.ht/~zethra/stargazer/archive/$pkgver.tar.gz") +license=('AGPL3') +source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~zethra/stargazer/archive/$pkgver.tar.gz") depends=('gcc-libs') -makedepends=('rust' 'cargo' 'scdoc' 'binutils') -sha256sums=("9bdb6f5be46515720683aa25c40364df11e794f5537bb7f3b1c5a819a3882f7f") +makedepends=('rust' 'scdoc') +sha256sums=('128a6c34ad300806aa846b482e0fdd6e2b7c519733429b7a9184174da1d3f6aa') + +prepare() { + cd "stargazer-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} build() { - tar -xf $pkgver.tar.gz - cd "$srcdir/stargazer-$pkgver" - ./scripts/build + cd "stargazer-$pkgver" + CGFLAGS='--locked --release' ./scripts/build } package() { - cd "$srcdir/stargazer-$pkgver" + cd "stargazer-$pkgver" source ./scripts/install --prefix="$pkgdir/usr" \ --sysconfdir="$pkgdir/etc" \ --bashdir="$pkgdir/usr/share/bash-completion/completions" \ --zshdir="$pkgdir/usr/share/zsh/site-functions" \ --fishdir="$pkgdir/usr/share/fish/vendor_completions.d" + install -Dm644 ./contrib/init/stargazer.service "$pkgdir/usr/lib/systemd/system/stargazer.service" } diff --git a/src/tablet-mode/PKGBUILD b/src/tablet-mode/PKGBUILD new file mode 100644 index 0000000..4af142a --- /dev/null +++ b/src/tablet-mode/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Richard Neumann aka. schard + +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" +} diff --git a/src/waydroid/PKGBUILD b/src/waydroid/PKGBUILD new file mode 100644 index 0000000..ec4ea66 --- /dev/null +++ b/src/waydroid/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Danct12 +# Contributor: Bart Ribbers + +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')