blob: e74040dd300331668c765e87b57a379efa112cc5 (
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
|
# Maintainer: Valère Monseur <valere dot monseur@ymail dot com>
pkgname=awf-git
_pkgname=awf
pkgver=v1.3.1.r3.g8a579e6
pkgrel=1
pkgdesc='A theme preview application for gtk2 and gtk3'
arch=('i686' 'x86_64')
url='https://github.com/valr/awf'
license=('GPL')
depends=('gtk2' 'gtk3' 'hicolor-icon-theme')
makedepends=('git')
source=("$pkgname"::'git+https://github.com/valr/awf.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
}
|