diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-21 21:31:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-21 21:31:25 +0000 |
commit | 23f948cbcb5ee57ac7f3a14e9e363460a0f9eead (patch) | |
tree | 3401cf302fa542ff9355ad00b7e684a06d1949fc /main/xdg-utils/APKBUILD | |
parent | 34e12c2e762186865a5a324d1450b408f7c4d1e3 (diff) | |
download | aports-23f948cbcb5ee57ac7f3a14e9e363460a0f9eead.tar.bz2 aports-23f948cbcb5ee57ac7f3a14e9e363460a0f9eead.tar.xz |
main/xdg-utils: moved from testing
Diffstat (limited to 'main/xdg-utils/APKBUILD')
-rw-r--r-- | main/xdg-utils/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/xdg-utils/APKBUILD b/main/xdg-utils/APKBUILD new file mode 100644 index 000000000..40478cb46 --- /dev/null +++ b/main/xdg-utils/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xdg-utils +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Basic desktop integration functions" +url="http://portland.freedesktop.org/wiki/" +arch="noarch" +license="MIT" +depends= +makedepends= +install= +subpackages="$pkgname-doc" +source="http://portland.freedesktop.org/download/xdg-utils-$pkgver.tgz + xfce.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + 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 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="348a5b91dc66426505022c74a64b2940 xdg-utils-1.0.2.tgz +328567c08a452bdbbedd2f1cca9ac116 xfce.patch" |