Browse Source

[trunk] -> [extra] 'libaccounts-glib-1.25-4' add

master
Dudemanguy 6 months ago
parent
commit
19ef196700
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 28
      libaccounts-glib/trunk/PKGBUILD
  2. 28
      libaccounts-glib/x86_64/extra/PKGBUILD

28
libaccounts-glib/trunk/PKGBUILD

@ -4,33 +4,27 @@
pkgname=libaccounts-glib
pkgver=1.25
pkgrel=3
pkgdesc="Glib-based client library for accessing the online accounts database"
pkgrel=4
pkgdesc='Glib-based client library for accessing the online accounts database'
arch=(x86_64)
url="https://gitlab.com/accounts-sso/libaccounts-glib"
url='https://gitlab.com/accounts-sso/libaccounts-glib'
license=(LGPL)
depends=(dbus-glib libxml2 sqlite)
makedepends=(python-gobject gobject-introspection vala meson check)
source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/accounts-sso/libaccounts-glib/repository/archive.tar.gz?ref=VERSION_$pkgver")
sha256sums=('02afd471d77c49c400a4956cb1fb66eed8e33f42ccee634c04ffe64c3c7a00e9')
prepare() {
mkdir -p build
mv $pkgname-*/ $pkgname
}
source=(https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$pkgver/libaccounts-glib-VERSION_$pkgver.tar.gz)
sha256sums=('47d4b2a5cf4f17f52550aa65b34030fbd1a242e1a233f248a5871620e0ff4c11')
build() {
cd build
arch-meson ../$pkgname -Dtests=false
ninja
meson $pkgname-VERSION_$pkgver build \
-Dtests=false \
-Dprefix=/usr
meson compile -C build
}
check() {
cd build
ninja test || true
meson test -C build || true
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
meson install -C build --destdir "$pkgdir"
}

28
libaccounts-glib/x86_64/extra/PKGBUILD

@ -4,33 +4,27 @@
pkgname=libaccounts-glib
pkgver=1.25
pkgrel=3
pkgdesc="Glib-based client library for accessing the online accounts database"
pkgrel=4
pkgdesc='Glib-based client library for accessing the online accounts database'
arch=(x86_64)
url="https://gitlab.com/accounts-sso/libaccounts-glib"
url='https://gitlab.com/accounts-sso/libaccounts-glib'
license=(LGPL)
depends=(dbus-glib libxml2 sqlite)
makedepends=(python-gobject gobject-introspection vala meson check)
source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/accounts-sso/libaccounts-glib/repository/archive.tar.gz?ref=VERSION_$pkgver")
sha256sums=('02afd471d77c49c400a4956cb1fb66eed8e33f42ccee634c04ffe64c3c7a00e9')
prepare() {
mkdir -p build
mv $pkgname-*/ $pkgname
}
source=(https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$pkgver/libaccounts-glib-VERSION_$pkgver.tar.gz)
sha256sums=('47d4b2a5cf4f17f52550aa65b34030fbd1a242e1a233f248a5871620e0ff4c11')
build() {
cd build
arch-meson ../$pkgname -Dtests=false
ninja
meson $pkgname-VERSION_$pkgver build \
-Dtests=false \
-Dprefix=/usr
meson compile -C build
}
check() {
cd build
ninja test || true
meson test -C build || true
}
package() {
cd build
DESTDIR="$pkgdir" ninja install
meson install -C build --destdir "$pkgdir"
}

Loading…
Cancel
Save