mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
912 B
Bash
31 lines
912 B
Bash
# $Id: PKGBUILD 3133 2009-09-28 09:01:18Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Dag Odenhall <dag.odenhall@gmail.com>
|
|
# Contributor: Grigorios Bouzakis <grbzks@gmail.com>
|
|
|
|
pkgname=dwm
|
|
pkgver=5.7.2
|
|
pkgrel=1
|
|
pkgdesc="A dynamic window manager for X"
|
|
url="http://dwm.suckless.org"
|
|
arch=('i686' 'x86_64')
|
|
license=('MIT')
|
|
options=(zipman)
|
|
depends=('libx11')
|
|
install=dwm.install
|
|
source=(http://code.suckless.org/dl/dwm/dwm-$pkgver.tar.gz \
|
|
config.h)
|
|
md5sums=('a0b8a799ddc5034dd8a818c9bd76f3a3'
|
|
'dc9b535baf445d1c12854d1a2a56449f')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
cp $srcdir/config.h config.h
|
|
|
|
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
|
|
make PREFIX=/usr DESTDIR=$pkgdir install || return 1
|
|
|
|
install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
|
|
install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
|
|
}
|