diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-24 20:40:31 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-24 23:34:48 -0300 |
commit | f4dd2b0810fc607d87e8702f1e53302acc4e8263 (patch) | |
tree | cc94ae23d158a38b247cd5edf79b875a3c7fb460 /community/libxres | |
parent | a9fea2070892bca32a3639a6723f41d78c48ac89 (diff) | |
download | aports-f4dd2b0810fc607d87e8702f1e53302acc4e8263.tar.bz2 aports-f4dd2b0810fc607d87e8702f1e53302acc4e8263.tar.xz |
community/libxres: move from main
Diffstat (limited to 'community/libxres')
-rw-r--r-- | community/libxres/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libxres/APKBUILD b/community/libxres/APKBUILD new file mode 100644 index 0000000000..055aeb7161 --- /dev/null +++ b/community/libxres/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxres +pkgver=1.2.0 +pkgrel=1 +pkgdesc="X11 Resource extension library" +url="http://xorg.freedesktop.org" +arch="all" +license="custom" +options="!check" # No test suite. +subpackages="$pkgname-dev $pkgname-doc" +depends_dev="xorgproto" +makedepends="$depends_dev libx11-dev libxext-dev util-macros" +source="https://www.x.org/releases/individual/lib/libXres-$pkgver.tar.bz2 + " + +builddir="$srcdir"/libXres-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="8eb5a36b1f030eb4e27e676cc4befcc073da66a7bce2b39089314e1facb629d13b087bb53ca2c95fe5291857da7ff9f80c6ab28fb3e245eeb9e0344937900172 libXres-1.2.0.tar.bz2" |