diff options
author | AmatCoder <amatcoder@gmail.com> | 2014-12-30 07:36:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-30 15:40:37 +0000 |
commit | 4ac6446f1b97265d39627c7450fd1e72fc9e1e85 (patch) | |
tree | c8415af56ca4f4da97ed3515107fa1f25bfde6cd /testing/xcursor-themes | |
parent | 650d8a9f3a1289e0c0a7d31f507e2e6987b14815 (diff) | |
download | aports-4ac6446f1b97265d39627c7450fd1e72fc9e1e85.tar.bz2 aports-4ac6446f1b97265d39627c7450fd1e72fc9e1e85.tar.xz |
testing/xcursor-themes: new aport
Diffstat (limited to 'testing/xcursor-themes')
-rw-r--r-- | testing/xcursor-themes/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/xcursor-themes/APKBUILD b/testing/xcursor-themes/APKBUILD new file mode 100644 index 0000000000..d3b3cd33bf --- /dev/null +++ b/testing/xcursor-themes/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: August Klein <amatcoder@gmail.com> +# Maintainer: August Klein <amatcoder@gmail.com> +pkgname=xcursor-themes +pkgver=1.0.4 +pkgrel=0 +pkgdesc="X.org Cursor themes" +url="http://xorg.freedesktop.org" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="libxcursor-dev util-macros xcursorgen" +install="" +subpackages="" +source="http://xorg.freedesktop.org/releases/individual/data/$pkgname-$pkgver.tar.gz" + +_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 --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="c82628f35e9950ba225050ad5803b92a xcursor-themes-1.0.4.tar.gz" +sha256sums="8ed23bab13a4010fe4e95b37eefb634e31ac7cb8240b8b3b7d919c3a2db09503 xcursor-themes-1.0.4.tar.gz" +sha512sums="6f26a3f9bfb5f6ba4edca9aab1a09e599863d51c5b0d0f9f5da623d3a5c3ef84eb22067af4635522040cdcc992beb6386e5cac3828a80b8ddcdfe077cfc05d1a xcursor-themes-1.0.4.tar.gz" |