summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ee179622fd8b1b26160c0eaa946d2a7d4e6756e (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
# Maintainer: purpleleaf  <max@ganoia.eu>
_pkgname=jgmenu
pkgname=$_pkgname-git
pkgver=`git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'  | sed 's:^v::'`
pkgrel=1
pkgdesc="Simple, independent, contemporary-looking X11 menu, designed for scripting, ricing and tweaking. Compiled with gtktheme, lx and pmenu support"
arch=('x86_64')
url="https://github.com/johanmalm/$_pkgname"
license=('GPL2')
depends=('libx11' 'cairo' 'pango' 'libxrandr' 'librsvg' 'libxml2' 'glib2' 'menu-cache' 'python')
provides=($_pkgname)
conflicts=($_pkgname)
source=("${_pkgname}::git+${url}.git")
sha256sums=("SKIP")

pkgver() {
  cd ${pkgname}
 echo $pkgver
}


build() {
	cd "$pkgname-$pkgver"
	./configure --with-gtktheme --with-lx --with-pmenu --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}