libgbinder/1.1.35-3: sync with archlinuxcn

This commit is contained in:
Puqns67 2024-01-17 21:59:15 +08:00
parent fb52c91be2
commit 0cd1ec4eff
Signed by: Puqns67
GPG Key ID: 9669DF042554F536

View File

@ -4,23 +4,23 @@
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org> # This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
pkgname='libgbinder' pkgname='libgbinder'
pkgver=1.1.34 pkgver=1.1.35
pkgrel=1 pkgrel=3
pkgdesc='GLib-style interface to binder' pkgdesc='GLib-style interface to binder'
arch=('i686' 'x86_64' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/mer-hybris/libgbinder' url='https://github.com/mer-hybris/libgbinder'
license=('BSD') license=('BSD-3-Clause')
depends=('libglibutil' 'glib2') depends=('libglibutil' '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=('a93e3d123b76dab2e9b4b7d53a844303687f058aa76bf5619945fce99f7df09404c13686b9134674daa79a5ae570e27ad156099985160322246dc73482454785') sha512sums=('4a05a86553161d835496073a57d1c27a33dd1f52b9d1b34ce044e8800bbec1d41e527bd3fcf09e21e0497c51ee744622138932831939ceb69e37996a6ad4f9c0')
build() { build() {
make -C "${srcdir}/${pkgname}-${pkgver}" KEEP_SYMBOLS=1 release pkgconfig KEEP_SYMBOLS=1 make -C "${srcdir}/${pkgname}-${pkgver}" release pkgconfig
} }
package() { package() {
make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install-dev DESTDIR="${pkgdir}" make -C "${srcdir}/${pkgname}-${pkgver}" install-dev
# license # license
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }