diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-12-31 07:51:59 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-12-31 07:51:59 +0000 |
commit | 134ddcafc04e2010569772b58138e9bee89533e6 (patch) | |
tree | e40566db1d06dd3a18352c9453602297680b670e /user/rgb/APKBUILD | |
parent | 5b19058e8ba86c219a5d651476cfb5621431d204 (diff) | |
download | packages-134ddcafc04e2010569772b58138e9bee89533e6.tar.gz packages-134ddcafc04e2010569772b58138e9bee89533e6.tar.bz2 packages-134ddcafc04e2010569772b58138e9bee89533e6.tar.xz packages-134ddcafc04e2010569772b58138e9bee89533e6.zip |
user/rgb: new package
Diffstat (limited to 'user/rgb/APKBUILD')
-rw-r--r-- | user/rgb/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/rgb/APKBUILD b/user/rgb/APKBUILD new file mode 100644 index 000000000..42be8cbe4 --- /dev/null +++ b/user/rgb/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=rgb +pkgver=1.0.6 +pkgrel=0 +pkgdesc="X11 colour name database" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="" +makedepends="util-macros xorgproto-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/rgb-$pkgver.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="92c8885a0e1482065a8b86f7be890859a5eab6b9d57ff219e916cbbd10cd185deec1c5db25dae8c405a343ab0e2ddaba3ddfe0b567d06534405f102e1845654e rgb-1.0.6.tar.bz2" |