diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-05 18:54:15 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 08:19:27 +0000 |
commit | 8b67ef50009e982a804c7ec3407eb8da736da1cb (patch) | |
tree | 6b781f65d4e5e6a1f5945ad302d965ad9bb3866f /main/glade3/APKBUILD | |
parent | fe10a48c9523006b04650b99b669ab2d70b38a5d (diff) | |
download | aports-8b67ef50009e982a804c7ec3407eb8da736da1cb.tar.bz2 aports-8b67ef50009e982a804c7ec3407eb8da736da1cb.tar.xz |
main/glade3: fix metadata, add test suite, modernise
Diffstat (limited to 'main/glade3/APKBUILD')
-rw-r--r-- | main/glade3/APKBUILD | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/main/glade3/APKBUILD b/main/glade3/APKBUILD index 0945406dd1..d90ff88396 100644 --- a/main/glade3/APKBUILD +++ b/main/glade3/APKBUILD @@ -1,24 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=glade3 pkgver=3.8.5 -pkgrel=4 -pkgdesc="a RAD tool to enable quick & easy development of user interfaces for GTK+" +pkgrel=5 +pkgdesc="A RAD tool for rapid development of GTK+ user interfaces" url="https://glade.gnome.org/" arch="all" -license="GPL" +license="LGPL-2.1+ AND GPL-2.0+" depends= makedepends="gtk+2.0-dev libxml2-dev paxmark" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.xz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" -} - build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -28,17 +23,19 @@ build() { --infodir=/usr/share/info \ --enable-compile-warnings=no \ --disable-scrollkeeper \ - --disable-gnome \ - || return 1 - make || return 1 + --disable-gnome + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - paxmark -r "$pkgdir"/usr/bin/glade-3 || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install + paxmark -r "$pkgdir"/usr/bin/glade-3 } -md5sums="4e4b4f5ee34a03e017e4cef97d796c1f glade3-3.8.5.tar.xz" -sha256sums="58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735 glade3-3.8.5.tar.xz" sha512sums="722a33f1a1ec3baa785bf3c6f7f5ec2cbe7cf6fe44c9c26d33728de16f2856cbb1ace0cd38c5b5356081e326666cc82fd00f2b6af53bd06bb832079610042985 glade3-3.8.5.tar.xz" |