diff options
-rw-r--r-- | testing/twm/APKBUILD | 16 |
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 } |