summaryrefslogtreecommitdiff
path: root/community/bwm-ng
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-17 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2011-11-17 23:14:48 +0000
commit029ccb02a25d48cdc39a7e749c17fa8bc9fb84e3 (patch)
tree908f9408ef6f7dbb40964c3d7000ff4668efe6af /community/bwm-ng
parentb3531e5acd3f55613eddde5591eb2e880fa96ed8 (diff)
Thu Nov 17 23:14:48 UTC 2011
Diffstat (limited to 'community/bwm-ng')
-rw-r--r--community/bwm-ng/PKGBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/community/bwm-ng/PKGBUILD b/community/bwm-ng/PKGBUILD
index fca5ed161..8e1aee5ca 100644
--- a/community/bwm-ng/PKGBUILD
+++ b/community/bwm-ng/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 11336 2010-02-09 22:40:01Z dgriffiths $
+# $Id: PKGBUILD 58638 2011-11-16 22:54:07Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sven Kauber <celeon@gmail.com>
@@ -10,19 +10,21 @@ arch=(i686 x86_64)
url="http://www.gropp.org/"
license=('GPL')
depends=('ncurses')
-options=('!emptydirs')
-source=(http://www.gropp.org/bwm-ng/${pkgname}-${pkgver}.tar.gz)
+options=('!libtool')
+source=("http://www.gropp.org/bwm-ng/${pkgname}-${pkgver}.tar.gz")
md5sums=('d3a02484fb7946371bfb4e10927cebfb')
-build()
-{
+build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=${pkgdir}/usr/share/man
- make || return 1
- make prefix=${pkgdir} install || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make prefix=${pkgdir} install
- mkdir -p ${pkgdir}/usr && \
- mv ${pkgdir}/bin ${pkgdir}/usr/ && \
- #mv ${pkgdir}/share ${pkgdir}/usr/ && \
- find ${pkgdir} -name '*.la' -exec rm {} \;
+ install -d ${pkgdir}/usr
+ mv ${pkgdir}/bin ${pkgdir}/usr/
+ #mv ${pkgdir}/share ${pkgdir}/usr/
}