-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
32 lines (28 loc) · 973 Bytes
/
PKGBUILD
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
pkgname=dmenu2-vertfull
pkgver=0.2
pkgrel=1
pkgdesc="Fork of dmenu with many useful patches applied and additional options like screen select, dim or opacity change. Includes an additional patch to prevent dmenu from indenting items at the same level as the prompt length."
url="https://bitbucket.org/melek/dmenu2"
arch=('i686' 'x86_64')
license=('MIT')
license=('GPL')
depends=('libxinerama' 'libxft')
provides=(dmenu)
conflicts=(dmenu)
source=("https://bitbucket.org/melek/dmenu2/downloads/dmenu2-$pkgver.tar.gz"
"git://github.com/marvinkreis/dmenu2_vertfull")
md5sums=('bc694c8b9fa3b8f6e7be8046d46e5bc5'
'SKIP')
prepare() {
cd "$srcdir/dmenu2-$pkgver"
patch -p1 -i "$srcdir/dmenu2_vertfull/dmenu2-vertfull-$pkgver.diff"
}
build() {
cd "$srcdir/dmenu2-$pkgver"
make
}
package() {
cd "$srcdir/dmenu2-$pkgver"
make DESTDIR="$pkgdir" PREFIX=/usr install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}