aboutsummaryrefslogtreecommitdiffstats
path: root/community/engrampa/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-10 20:48:26 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-07-13 23:30:26 +0000
commit1a437ad05a75197edcbdc57bf1b03ffbd1c3d326 (patch)
treebd36179bdab1ff7eaa8a199bb0cd18757fffdac0 /community/engrampa/APKBUILD
parentb719073b97e4cfc3e56ecc42517792e69d38fd77 (diff)
downloadaports-1a437ad05a75197edcbdc57bf1b03ffbd1c3d326.tar.bz2
aports-1a437ad05a75197edcbdc57bf1b03ffbd1c3d326.tar.xz
community/engrampa: modernize APKBUILD
Diffstat (limited to 'community/engrampa/APKBUILD')
-rw-r--r--community/engrampa/APKBUILD23
1 files changed, 6 insertions, 17 deletions
diff --git a/community/engrampa/APKBUILD b/community/engrampa/APKBUILD
index 3f72d33d23..b298e0b041 100644
--- a/community/engrampa/APKBUILD
+++ b/community/engrampa/APKBUILD
@@ -8,32 +8,21 @@ url="http://mate-desktop.org/"
arch="all"
license="GPLv2"
depends="libxml2-utils"
-depends_dev=""
makedepends="$depends_dev glib-dev gtk+2.0-dev caja-dev itstool libsm-dev"
-install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd "$builddir"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
}
sha512sums="40adf73d1c8312d1ab8424aef41282e86683899191a707283f3bbe3f638895da2441f3fbeadb9d0166c94cad1f2d370cdd2692192ee427248785184e6bc51f3e engrampa-1.19.0.tar.xz"