[Perf] Reorganized file structure

This commit is contained in:
Puqns67 2023-02-27 23:04:52 +08:00
parent 5ea020656f
commit c480cf51fa
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
8 changed files with 58 additions and 32 deletions

4
.gitignore vendored
View File

@ -1,7 +1,7 @@
*/*/ packages/*/*/
LICENSE LICENSE
*.pkg.tar.zst *.pkg.tar.zst
*.tar.gz *.tar.gz
*.zip *.zip
!*/keys/ !packages/*/keys/

View File

@ -1,26 +0,0 @@
# Maintainer: Puqns67 <me@puqns67.icu>
# Contributor: Danct12 <danct12@disroot.org>
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
pkgname='libgbinder'
pkgver=1.1.31
pkgrel=1
pkgdesc='GLib-style interface to binder'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/mer-hybris/libgbinder'
license=('BSD')
depends=('libglibutil' 'glib2')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690')
build() {
make -C "${srcdir}/${pkgname}-${pkgver}/" KEEP_SYMBOLS=1 release pkgconfig
}
package() {
make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" install-dev
# license
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -0,0 +1,52 @@
# Maintainer: Puqns67 <me@puqns67.icu>
# Contributor: Danct12 <danct12@disroot.org>
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
pkgname='libgbinder'
pkgver=1.1.31
pkgrel=1
pkgdesc='GLib-style interface to binder'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/mer-hybris/libgbinder'
license=('BSD')
depends=('libglibutil' 'glib2')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690')
build() {
make -C "${srcdir}/${pkgname}-${pkgver}/" KEEP_SYMBOLS=1 release pkgconfig
}
package() {
make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" install-dev
# license
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# Maintainer: Puqns67 <me@puqns67.icu>
# Contributor: Danct12 <danct12@disroot.org>
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
pkgname='libgbinder'
pkgver=1.1.31
pkgrel=1
pkgdesc='GLib-style interface to binder'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/mer-hybris/libgbinder'
license=('BSD')
depends=('libglibutil' 'glib2')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690')
build() {
make -C "${srcdir}/${pkgname}-${pkgver}/" KEEP_SYMBOLS=1 release pkgconfig
}
package() {
make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" install-dev
# license
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@ -11,7 +11,7 @@ arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/sailfishos/libglibutil' url='https://github.com/sailfishos/libglibutil'
license=('BSD') license=('BSD')
depends=('glib2') depends=('glib2')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541') sha512sums=('5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541')
build() { build() {

View File

@ -13,7 +13,7 @@ _reponame="${url##*/}"
license=('GPL3') license=('GPL3')
depends=('libgbinder') depends=('libgbinder')
makedepends=('cython' 'python' 'python-setuptools') makedepends=('cython' 'python' 'python-setuptools')
source=("${_reponame}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz") source=("${_reponame}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03') sha512sums=('1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03')
build() { build() {

View File

@ -14,9 +14,9 @@ license=('GPL3')
depends=('dnsmasq' 'lxc' 'nftables' 'python' 'python-gbinder' 'python-gobject' 'which') depends=('dnsmasq' 'lxc' 'nftables' 'python' 'python-gbinder' 'python-gobject' 'which')
optdepends=('waydroid-image: Android image for use with waydroid' optdepends=('waydroid-image: Android image for use with waydroid'
'python-pyclip: share clipboard with container') 'python-pyclip: share clipboard with container')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5') sha512sums=('2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5')
package() { package() {
make -C "${srcdir}/${pkgname}-${pkgver}/" install DESTDIR="${pkgdir}" USE_NFTABLES=1 make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" USE_NFTABLES=1 install
} }