blob: 52c3d02fe7ab86dff4d812beacc452cd71f5140c (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-menus
pkgver=3.10.1
pkgrel=0
pkgdesc="freedesktop.org XDG menu specification for GNOME"
url="http://projects.gnome.org/gnome-menus"
arch="all"
license="GPL"
depends=""
depends_dev="libgnome-dev python-dev"
makedepends="$depends_dev intltool gobject-introspection-dev"
install=
subpackages="$pkgname-dev $pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="6db025e79e2b69f39fc7aa0753f43081 gnome-menus-3.10.1.tar.xz"
sha256sums="46950aba274c1ad58234374fa9b235258650737307f3bc396af48eb983668a71 gnome-menus-3.10.1.tar.xz"
sha512sums="e6f0fe223e60f6c33a2ed2cd958035e5560d4063fbe7485263c4ad0eba82e18948d19f7dbe84dd0db5c339e94366759a0f98da533e2798c3ed9cc9a87f73c7e0 gnome-menus-3.10.1.tar.xz"
|