libglibutil/1.0.75-3: sync with archlinuxcn

This commit is contained in:
Puqns67 2024-01-17 21:58:32 +08:00
parent 384be987bc
commit fb52c91be2
Signed by: Puqns67
GPG Key ID: 9669DF042554F536

View File

@ -4,23 +4,23 @@
# This PKGBUILD is base on the AUR repo libglibutil, by Danct12 <danct12@disroot.org>
pkgname='libglibutil'
pkgver=1.0.69
pkgrel=1
pkgver=1.0.75
pkgrel=3
pkgdesc='Library of glib utilities'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/sailfishos/libglibutil'
license=('BSD')
license=('BSD-3-Clause')
depends=('glib2')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('310b9749fd01615ca8b79bc6f6dfccbd0dbe3e78208c4e33ede32c1ff931c189decac382197df9900f7e72233ac315c8e01ad18c95f07f7f4bff12912cc1ea18')
sha512sums=('2b66d0360c803b37c01e6db29f121dc1b4e5a50cec57f1d6943137782a192f49f7c1a4326ff7c20feca13478b13b63624200372e74bb938f570446bac6f674cc')
build() {
make -C "${srcdir}/${pkgname}-${pkgver}" KEEP_SYMBOLS=1 release pkgconfig
KEEP_SYMBOLS=1 make -C "${srcdir}/${pkgname}-${pkgver}" release pkgconfig
}
package() {
make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install-dev
DESTDIR="${pkgdir}" make -C "${srcdir}/${pkgname}-${pkgver}" install-dev
# 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"
}