summaryrefslogtreecommitdiff
path: root/community/wmname
diff options
context:
space:
mode:
Diffstat (limited to 'community/wmname')
-rw-r--r--community/wmname/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/community/wmname/PKGBUILD b/community/wmname/PKGBUILD
index cdffdbcf8..0d72d64c7 100644
--- a/community/wmname/PKGBUILD
+++ b/community/wmname/PKGBUILD
@@ -1,21 +1,25 @@
-# Contributer: Vincent Kriek <vincent@vincentkriek.nl>
+# $Id: PKGBUILD 55541 2011-09-14 08:07:38Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Vincent Kriek <vincent@vincentkriek.nl>
pkgname=wmname
pkgver=0.1
-pkgrel=1
-pkgdesc="A utility to set the name of your window manager"
+pkgrel=2
+pkgdesc="An utility to set the name of your window manager"
url="http://www.suckless.org/programs/wmname.html"
license=('custom')
-depends=(libx11)
+depends=('libx11')
arch=('i686' 'x86_64' 'mips64el')
-source=('http://code.suckless.org/dl/tools/wmname-0.1.tar.gz')
+source=("http://dl.suckless.org/tools/wmname-$pkgver.tar.gz")
md5sums=('6903d299f84d335e529fbd2c1d6e49fe')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}"/$pkgname-$pkgver
+ make
+}
- ./configure --prefix=/usr
- make || return 1
- make PREFIX=$startdir/pkg/usr install || return 1
- install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make PREFIX="${pkgdir}"/usr install
+ install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}