diff options
author | AmatCoder <amatcoder@gmail.com> | 2014-11-19 15:14:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-20 13:30:01 +0000 |
commit | 16f6eaed4d8238f7fcfa352e06e69dac2296c3fe (patch) | |
tree | 03ed2b29cf28b8ea064a3979f78e474cacd41f74 | |
parent | 044cab5649b72fd317ac373dc2e66c4040a1ae6d (diff) | |
download | aports-16f6eaed4d8238f7fcfa352e06e69dac2296c3fe.tar.bz2 aports-16f6eaed4d8238f7fcfa352e06e69dac2296c3fe.tar.xz |
testing/meld: new aport
-rw-r--r-- | testing/meld/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/meld/APKBUILD b/testing/meld/APKBUILD new file mode 100644 index 0000000000..69d4114391 --- /dev/null +++ b/testing/meld/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: August Klein <amatcoder_at_gmail.com> +# Maintainer: August Klein <amatcoder_at_gmail.com> +pkgname=meld +pkgver=1.8.5 +pkgrel=0 +pkgdesc="A Visual diff and merge tool" +url="http://meldmerge.org" +arch="noarch" +license="GPL2" +depends="py-gtk" +depends_dev="" +makedepends="intltool itstool gnome-doc-utils" +install="" +subpackages="$pkgname-lang $pkgname-doc" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz" + +_builddir="$srcdir"/$pkgname-$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" + make prefix=/usr || return 1 +} + +package() { + cd "$_builddir" + make prefix=/usr DESTDIR="${pkgdir}" install \ + update_desktop_database= update_mime_database= || return 1 +} + +doc() { + mkdir -p "$subpkgdir"/usr/share/gnome || return 1 + mkdir -p "$subpkgdir"/usr/share/omf || return 1 + + mv "$pkgdir"/usr/share/gnome/* "$subpkgdir"/usr/share/gnome/ || return 1 + mv "$pkgdir"/usr/share/omf/* "$subpkgdir"/usr/share/omf/ || return 1 +} + +md5sums="36e84ea3d9547d3be8ebefef83673d42 meld-1.8.5.tar.xz" +sha256sums="e0f1d6007117a4be95d7c399359cb2ebfa80f2b9158222d727e9a35ae4d5d44d meld-1.8.5.tar.xz" +sha512sums="09b36923fedfb8f67dd120a71a1fb591efd812b8e1e451281ffee639ce02a7c8fd0d280254c5270ec547df38a30c53a309a7749fa2a63093bd3cf8f46195332b meld-1.8.5.tar.xz" |