pmaports/maemo/gnome-menus2/APKBUILD
NotKit 13465a27c6 Initial packaging for Maemo UI (#461)
* Initial packaging for Maemo UI from https://github.com/fremantle-gtk2/

gtk+2.0-maemo package is based on https://pkgs.alpinelinux.org/package/edge/main/x86/gtk+2.0 by Natanael Copa

* Include git revision in tarball filename
2017-09-04 17:09:53 +00:00

27 lines
877 B
Text

pkgname=gnome-menus2
pkgver=3.0.1
pkgrel=1
pkgdesc='Library for the Desktop Menu Specification (legacy version)'
arch="all"
url='http://www.gnome.org/'
license="LGPL"
depends="glib"
makedepends="gobject-introspection intltool python-dev"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/gnome/sources/${pkgname%2}/${pkgver%.*}/${pkgname%2}-${pkgver}.tar.bz2"
build() {
cd "$srcdir/${pkgname%2}-$pkgver"
export PYTHON='/usr/bin/python2'
./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --disable-static
make
}
package(){
cd "$srcdir/${pkgname%2}-$pkgver"
make -C libmenu DESTDIR="${pkgdir}" install
make -C python DESTDIR="${pkgdir}" install
}
sha512sums="05eda56b741d7236b17276b3b208b8370ec8ff0db82e32a2c0adb84334c4d9365fe61dea08183858fb7c0093cf04a02ba1311483e3318dbe816a02c28f4198eb gnome-menus-3.0.1.tar.bz2"