blob: 51e5079dbb6ca0a8cbb84dad17647e9301728075 (
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
43
44
45
46
|
# Maintainer: Limao Luo <luolimao+AUR@gmail.com>
#
# (Added from garcon package)
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Xavier Devlamynck <magicrhesus@ouranos.be>
_pkgname=garcon
pkgname=$_pkgname-git
pkgver=garcon.4.17.1.18.g563e07f
pkgrel=1
pkgdesc="Freedesktop.org compliant menu library"
arch=(i686 x86_64)
license=(GPL2)
url=http://wiki.xfce.org/dev/$_pkgname
groups=(xfce4-git)
depends=(libxfce4util-git libxfce4ui-git gtk3)
makedepends=(git xfce4-dev-tools)
provides=($_pkgname=$pkgver)
conflicts=($_pkgname libxfce4menu{,-git})
replaces=(libxfce4menu{,-git})
options=(!libtool !makeflags)
source=($pkgname::git+https://gitlab.xfce.org/xfce/$_pkgname)
sha256sums=('SKIP')
sha512sums=('SKIP')
pkgver() {
cd $pkgname/
git describe | sed 's/^xfce-//;s/-/./g'
}
build() {
cd $pkgname/
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--disable-debug
make
}
package() {
make -C $pkgname DESTDIR="$pkgdir" install
}
|