diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-07 07:38:24 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-07 07:38:57 +0000 |
commit | 376cef5d57e5569d8af231834188a0d933349824 (patch) | |
tree | 16770c56e353724a3067f684c8daca9734357c20 /main/libgcab/APKBUILD | |
parent | 09cdd8da593887f86dad873b89a0a60f44b14c92 (diff) | |
download | aports-376cef5d57e5569d8af231834188a0d933349824.tar.bz2 aports-376cef5d57e5569d8af231834188a0d933349824.tar.xz |
main/libgcab: new aport, dependency for appstream-glib
Diffstat (limited to 'main/libgcab/APKBUILD')
-rw-r--r-- | main/libgcab/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libgcab/APKBUILD b/main/libgcab/APKBUILD new file mode 100644 index 0000000000..73c417e0a9 --- /dev/null +++ b/main/libgcab/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=libgcab +pkgver=0.7 +pkgrel=0 +pkgdesc="A GObject library to create cabinet files" +url=" https://wiki.gnome.org/msitools" +arch="all" +license="GLPL2.1" +depends="" +depends_dev="gettext-dev" +makedepends="$depends_dev automake autoconf + libtool gobject-introspection-dev + intltool glib-dev gtk-doc" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/gcab/archive/v${pkgver}.tar.gz" + +builddir="$srcdir"/gcab-$pkgver + +build() { + cd "$builddir" + ./autogen.sh + ./configure \ + --prefix=/usr \ + --disable-nls + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="146d16bfad689a7dbccb8a0f585982c1 libgcab-0.7.tar.gz" +sha256sums="da1569630865e7f75f8d1780bcce232895da47f7dfa17b3631b65d15ab748e94 libgcab-0.7.tar.gz" +sha512sums="1124548d7b0de966ed5b13f63ecc0523bc76e619683fe30509d52e4acbeafd7c95e132f82635663fc5adf20ebee12a0aa521181759a5998f45a5c3a202465adc libgcab-0.7.tar.gz" |