aboutsummaryrefslogtreecommitdiffstats
path: root/community/xmltoman/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-28 01:16:30 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-07-28 23:15:38 +0200
commit73b14537fb81d1de728f1790e3fcc97d7d8b88f3 (patch)
tree643e3c5cb103e292ac7f52387f2924325c7592e1 /community/xmltoman/APKBUILD
parent11692cb83ef0d65115982ca41edf2bdccbde0882 (diff)
downloadaports-73b14537fb81d1de728f1790e3fcc97d7d8b88f3.tar.bz2
aports-73b14537fb81d1de728f1790e3fcc97d7d8b88f3.tar.xz
community/xmltoman: modernize APKBUILD
Diffstat (limited to 'community/xmltoman/APKBUILD')
-rw-r--r--community/xmltoman/APKBUILD26
1 files changed, 5 insertions, 21 deletions
diff --git a/community/xmltoman/APKBUILD b/community/xmltoman/APKBUILD
index 95956a2e1c..ed5af242cd 100644
--- a/community/xmltoman/APKBUILD
+++ b/community/xmltoman/APKBUILD
@@ -8,33 +8,17 @@ url="http://xmltoman.sourceforge.net/"
arch="noarch"
license="GPL"
depends="perl-xml-parser"
-depends_dev=""
-makedepends="$depends_dev"
-install=""
-subpackages=""
-source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.gz/${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
-}
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
make PREFIX=/usr
}
package() {
- cd "$_builddir"
- make install PREFIX=/usr DESTDIR="${pkgdir}"
+ cd "$builddir"
+ make install PREFIX=/usr DESTDIR="$pkgdir"
}
-md5sums="99be944b9fce40b3fe397049bf14a097 xmltoman-0.4.tar.gz"
-sha256sums="948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0 xmltoman-0.4.tar.gz"
sha512sums="347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22 xmltoman-0.4.tar.gz"