testing/gnome-autoar: new aport

This commit is contained in:
William Pitcock 2017-06-08 00:38:50 +00:00
parent 8db203ff76
commit 8a3fd3cd4d

View File

@ -0,0 +1,39 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-autoar
pkgver=0.2.2
pkgrel=0
pkgdesc="GNOME archive extraction library"
url="http://www.gnome.org/"
arch="all"
license="GPL"
depends=""
depends_dev="gnome-desktop-dev libarchive-dev"
makedepends="$depends_dev vala"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/gnome-autoar/${pkgver%.*}/gnome-autoar-$pkgver.tar.xz"
builddir="$srcdir/gnome-autoar-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
check() {
cd "$builddir"
make check
}
sha512sums="78faf8f82eeab4cb5f1f364d6e9caa4d24f21f9b81a79ebde4404253f3e7ae120f44600f236612859810afc6fc6f1a8c6f2e065db98be79103255642139c10a2 gnome-autoar-0.2.2.tar.xz"