aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xcursorgen
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2014-12-23 22:08:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-24 12:55:37 +0000
commit55f2b07c41dafa59a160d9794f54f8c949a11eb1 (patch)
tree9890403ea2f32a1ab33aaba6ee90cf4c414b2d88 /testing/xcursorgen
parent9fcfaf3ed694c46cf99946c916a96f1bd21d759f (diff)
downloadaports-55f2b07c41dafa59a160d9794f54f8c949a11eb1.tar.bz2
aports-55f2b07c41dafa59a160d9794f54f8c949a11eb1.tar.xz
testing/xcursorgen: new aport
Diffstat (limited to 'testing/xcursorgen')
-rw-r--r--testing/xcursorgen/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/xcursorgen/APKBUILD b/testing/xcursorgen/APKBUILD
new file mode 100644
index 0000000000..40d1b85bde
--- /dev/null
+++ b/testing/xcursorgen/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: August Klein <amatcoder@gmail.com>
+# Maintainer: August Klein <amatcoder@gmail.com>
+pkgname=xcursorgen
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="Create an X cursor file from PNG images"
+url="http://xorg.freedesktop.org"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="libpng-dev libxcursor-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://xorg.freedesktop.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2"
+
+_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"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+md5sums="b58a87e6cd7145c70346adad551dba48 xcursorgen-1.0.6.tar.bz2"
+sha256sums="31c8910f54eb175a8a74a60e7662697467e21a8bf948220a6048a93924b3f66c xcursorgen-1.0.6.tar.bz2"
+sha512sums="3b464b7be3cec8c6d2bf4538266108bdc09e1dae4053d573f7f38e004929b41be0d996aa54918490fa040655644e2b0d4fab1ec24cca014d77bdb91c41ab1db4 xcursorgen-1.0.6.tar.bz2"