blob: eb958f6b9c5217ee14b7805999ec6e70ca4dd910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer : SpepS <dreamspepser at yahoo dot it>
# Contributor: TDY <tdy@gmx.com>
pkgname=echinus
pkgver=0.4.9
pkgrel=1
pkgdesc="A window manager for X in the spirit of dwm"
arch=('i686' 'x86_64')
url="http://plhk.ru/echinus"
license=('custom:MIT')
depends=('libxft' 'libxrandr')
optdepends=('ourico: complementary taskbar for echinus')
install="$pkgname.install"
source=("http://plhk.ru/static/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('8e17f3973060121847050b74a1bf000d')
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix rc file path in man file
sed -i "s/\${DESTDIR}\(\${CONF}\)/\1/" Makefile
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF=/etc/xdg/$pkgname
}
package () {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF="/etc/xdg/$pkgname" \
DESTDIR="$pkgdir" install
# set world readable bit
chmod 644 "$pkgdir/etc/xdg/$pkgname/"*
# license
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|