aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas
diff options
context:
space:
mode:
Diffstat (limited to 'main/augeas')
-rw-r--r--main/augeas/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD
index fd4f1203bd..3536fbae88 100644
--- a/main/augeas/APKBUILD
+++ b/main/augeas/APKBUILD
@@ -2,17 +2,16 @@
pkgname=augeas
pkgver=1.0.0
pkgrel=1
-pkgdesc="a configuration editing tool"
+pkgdesc="A configuration editing tool"
url="http://augeas.net"
arch="all"
-license="LGPL"
-depends=
+license="LGPL2+"
+depends=""
depends_dev="libxml2-dev"
makedepends="$depends_dev readline-dev"
-install=
+install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tests $pkgname-libs"
-source="http://download.augeas.net/augeas-$pkgver.tar.gz
- "
+source="http://download.augeas.net/augeas-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -35,6 +34,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+ make tests || return 1
}
package() {
@@ -45,6 +45,7 @@ package() {
tests() {
pkgdesc="Tests for Augeas lenses"
+ arch="noarch"
mkdir -p "$subpkgdir"/usr/share/augeas/lenses/dist/
mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \
"$subpkgdir"/usr/share/augeas/lenses/dist/