diff options
Diffstat (limited to 'unmaintained/lxmenu-data/APKBUILD')
-rw-r--r-- | unmaintained/lxmenu-data/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/lxmenu-data/APKBUILD b/unmaintained/lxmenu-data/APKBUILD new file mode 100644 index 0000000000..a899f81ac5 --- /dev/null +++ b/unmaintained/lxmenu-data/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: +# Maintainer: +pkgname=lxmenu-data +pkgver=0.1.2 +pkgrel=1 +pkgdesc="freedesktop.org desktop menus for LXDE" +url="http://lxde.org/" +arch="noarch" +license="GPL2" +depends="" +depends_dev="intltool" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz" + +_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 \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="2184ab3746d572477f1bea7e98e230a8 lxmenu-data-0.1.2.tar.gz" +sha256sums="34c285a0430404e815263a4bb33a79eb47b168c56469be0f7ffb19730a57a045 lxmenu-data-0.1.2.tar.gz" +sha512sums="8e18d5a0309d69fbd410f8e3e5393f8a49852c2684aa2d2f0c460cf9e1f0fb88810885551d6b3dee1c6270a2a8a8a14973ca5e72b714898d1b6b9b676e3bf922 lxmenu-data-0.1.2.tar.gz" |