aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/rgb/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/main/rgb/APKBUILD b/main/rgb/APKBUILD
index 449c8a654e..0919ca145b 100644
--- a/main/rgb/APKBUILD
+++ b/main/rgb/APKBUILD
@@ -1,31 +1,29 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rgb
pkgver=1.0.6
-pkgrel=0
-pkgdesc="X.org utility to display an rgb color-name database"
+pkgrel=1
+pkgdesc="X.org utility to display an RGB color-name database"
url="http://xorg.freedesktop.org/"
arch="all"
-license="custom"
+options="!check" # No tests.
+license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xproto"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir/$pkgname-$pkgver"
-
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="92c8885a0e1482065a8b86f7be890859a5eab6b9d57ff219e916cbbd10cd185deec1c5db25dae8c405a343ab0e2ddaba3ddfe0b567d06534405f102e1845654e rgb-1.0.6.tar.bz2"