diff options
Diffstat (limited to 'unmaintained/giggle/APKBUILD')
-rw-r--r-- | unmaintained/giggle/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/giggle/APKBUILD b/unmaintained/giggle/APKBUILD new file mode 100644 index 0000000000..78cda69bea --- /dev/null +++ b/unmaintained/giggle/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=giggle +pkgver=0.5 +pkgrel=1 +pkgdesc="graphical frontend for the git content tracker" +url="http://live.gnome.org/giggle" +arch="all" +license="GPL" +depends= +makedepends="gtk+-dev gtksourceview-dev vte-dev" +install="" +subpackages="$pkgname-dev" +source="http://ftp.gnome.org/pub/GNOME/sources/giggle/$pkgver/giggle-$pkgver.tar.bz2" + +_builddir="$srcdir"/giggle-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-evolution-data-server \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="91d2000fb97c5cb0bb0027edf444ecff giggle-0.5.tar.bz2" |