diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-30 19:25:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-30 19:25:50 +0000 |
commit | 4bdcbd250f513a831d496c49155d9a893c4d5970 (patch) | |
tree | 97ef5cc40e1c74284b18fb06ce7083c3f955ba32 /testing | |
parent | 2cffc064b00931917f12397dfb1fd12c2d220d84 (diff) | |
download | aports-4bdcbd250f513a831d496c49155d9a893c4d5970.tar.bz2 aports-4bdcbd250f513a831d496c49155d9a893c4d5970.tar.xz |
testing/xprop: new aport
Property displayer for X
http://cgit.freedesktop.org/xorg/app/xprop/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/xprop/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/xprop/APKBUILD b/testing/xprop/APKBUILD new file mode 100644 index 0000000000..ee0a935cd6 --- /dev/null +++ b/testing/xprop/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xprop +pkgver=1.2.1 +pkgrel=0 +pkgdesc="Property displayer for X" +url="http://cgit.freedesktop.org/xorg/app/xprop/" +arch="all" +license="AS-IS" +depends="" +depends_dev="" +makedepends="libx11-dev util-macros" +install="" +subpackages="$pkgname-doc" +source="http://xorg.freedesktop.org/archive/individual/app/xprop-$pkgver.tar.bz2" + +_builddir="$srcdir"/xprop-$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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="d5529dc8d811efabd136ca2d8e857deb xprop-1.2.1.tar.bz2" |