summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f95f5f14580715abc9ecb0fb689aaed511346c77 (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
# Maintainer: Robin Thompson <robin*dot*thompson99*at*gmail*dot*com>
_pkgname=gladrags
pkgname=gladrags-git
pkgver=0.22.r0.gc44c89f
pkgrel=1
epoch=
pkgdesc="An applet to smarten up MATE panels"
arch=('any')
url="https://github.com/robint99/gladrags"
license=('GPLv3')
depends=("mate-panel" "python" "python-gobject" "imagemagick")
makedepends=("git")
install="gladrags.install"
source=("git+http://github.com/robint99/gladrags")
md5sums=('SKIP')

pkgver() {
	cd $_pkgname
	git describe --long --tags | sed 's/^V//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/gladrags"
        aclocal
        automake --add-missing
        autoreconf
	./configure --prefix=/usr --with-gtk3 --disable-schemas-compile
	make
}

package() {
	cd "$srcdir/gladrags"
	make DESTDIR="$pkgdir/" install
}