This repository has been archived by the owner on Feb 27, 2018. It is now read-only.
/
PKGBUILD
55 lines (45 loc) · 1.68 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
# Original Maintainer: György Balló <ballogy@freestart.hu>
# Contributor: thn81 <root@scrat>
# vercheck-pkgbuild: auto
# vercheck-ubuntu: name=${pkgname}, repo=yakkety
# vercheck-launchpad: name=${pkgname}
pkgname=indicator-appmenu
_actual_ver=15.02.0
_extra_ver=+16.10.20160927
pkgver=${_actual_ver}${_extra_ver/\+/.}
pkgrel=1
epoch=1
pkgdesc="An indicator to host the menus from an application"
arch=(i686 x86_64)
url="https://launchpad.net/indicator-appmenu"
license=(GPL)
groups=(unity)
depends=(dconf libappindicator-gtk3 libindicator-gtk3 libdbusmenu-gtk3
bamf-ubuntu)
makedepends=(gtk-doc intltool vala)
optdepends=('unity-gtk-module: support for GTK+ 2 and GTK+ 3 apps'
'appmenu-qt: support for Qt apps')
options=(!emptydirs)
source=("https://launchpad.net/ubuntu/+archive/primary/+files/indicator-appmenu_${_actual_ver}${_extra_ver}.orig.tar.gz"
0001_autoconf.patch)
sha512sums=('023ceb4d48b2daf99b54eb1c54ee596c876d9d24a31c9dfebeec40990f066615331f4e8daf2dee6bf0bd6843b896060655bf8d5eb31ce3e647b4c365499264fc'
'31b83e433824bd7acd7be93bfd60932114eff344fea77c8ea1125272d5881fd61c1609d4fbf24de0cc8838e76d8ac405e7a19162e3ce2021b6b5b6dbb61c31f8')
prepare() {
#cd "${pkgname}-${_actual_ver}${_extra_ver}"
# Autoconf fix
patch -p1 -i ../0001_autoconf.patch
}
build() {
#cd "${pkgname}-${_actual_ver}${_extra_ver}"
export CFLAGS+=" -Wno-error"
gtkdocize
autoreconf -vfi
intltoolize -f
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --disable-static
make
}
package() {
#cd "${pkgname}-${_actual_ver}${_extra_ver}/"
make DESTDIR="${pkgdir}/" install
}