diff options
author | Johannes Matheis <jomat+alpinebuild@jmt.gr> | 2014-08-28 14:55:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-01 08:09:52 +0000 |
commit | 538b257c40b8e74bb5fc8db5f984dc7fb949bdb5 (patch) | |
tree | 8b6037073eb484330a5b8795a190375e833c4e36 /testing | |
parent | 976484b05dafaa901f0b5a654f1e2680c0cd3eec (diff) | |
download | aports-538b257c40b8e74bb5fc8db5f984dc7fb949bdb5.tar.bz2 aports-538b257c40b8e74bb5fc8db5f984dc7fb949bdb5.tar.xz |
testing/xorg-cf-files: new aport
http://xorg.freedesktop.org/
Data files for the imake utility
Diffstat (limited to 'testing')
-rw-r--r-- | testing/xorg-cf-files/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/xorg-cf-files/APKBUILD b/testing/xorg-cf-files/APKBUILD new file mode 100644 index 0000000000..87d93c8b34 --- /dev/null +++ b/testing/xorg-cf-files/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> +# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> +pkgname=xorg-cf-files +pkgver=1.0.5 +pkgrel=0 +pkgdesc="Data files for the imake utility" +url="http://xorg.freedesktop.org/" +arch="noarch" +license="custom" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +source="${url}releases/individual/util/${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 \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} + +md5sums="4a9cd7fc995ebf8f3cdad5395f9d8eba xorg-cf-files-1.0.5.tar.bz2" +sha256sums="ed23b85043edecc38fad4229e0ebdb7ff80b570e746bc03a7c8678d601be7ed4 xorg-cf-files-1.0.5.tar.bz2" +sha512sums="139d2c51538257eac79118ea367cdfbebebcd095f353e784b61c109e008bf8e43eb4ef15bb0c8df74339dbed9d96af4c4d1e023c23d02d5de31dc2ea5b85ce5c xorg-cf-files-1.0.5.tar.bz2" |