aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-05 14:14:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-05 14:14:33 +0000
commita683081e8537cb0efda48e603ef6188e9bb34ba9 (patch)
tree58978e49e63af1c598512ff1dc67bdf1dab92bc2 /testing
parent69c892a4aca32d4993eb00904930ab721b87375f (diff)
downloadaports-a683081e8537cb0efda48e603ef6188e9bb34ba9.tar.bz2
aports-a683081e8537cb0efda48e603ef6188e9bb34ba9.tar.xz
testing/twm: minor cleanup
aboid doing the build inside fakeroot
Diffstat (limited to 'testing')
-rw-r--r--testing/twm/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/testing/twm/APKBUILD b/testing/twm/APKBUILD
index 0481e24705..2a038ff3f8 100644
--- a/testing/twm/APKBUILD
+++ b/testing/twm/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer:
pkgname=twm
pkgver=1.0.8
-pkgrel=0
+pkgrel=1
pkgdesc="Tom's or Tab Window Manager for the X Window System"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
-depends_dev="bison util-macros libxext-dev libx11-dev libxt-dev libice-dev libxmu-dev"
-makedepends="$depends_dev"
+depends_dev=""
+makedepends="$depends_dev bison util-macros libxext-dev libx11-dev libxt-dev
+ libice-dev libxmu-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"
@@ -27,12 +28,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --datarootdir=/usr/share
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --datarootdir=/usr/share \
+ || return 1
+ make || return 1
}
package() {
cd "$_builddir"
- make || return 1
make DESTDIR="$pkgdir" install || return 1
}