diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 16:19:28 +0000 |
---|---|---|
committer | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 16:19:38 +0000 |
commit | bfc68719c8e2a01aaac95a24ebd84539ecbe7f2e (patch) | |
tree | d409f211263b93527986cf9c0dd2fc6c9af72745 /main/yelp-tools/APKBUILD | |
parent | 2fff09247a5c4504348c8e79297756ca91595c45 (diff) | |
download | aports-bfc68719c8e2a01aaac95a24ebd84539ecbe7f2e.tar.bz2 aports-bfc68719c8e2a01aaac95a24ebd84539ecbe7f2e.tar.xz |
main/yelp-tools: move from testing
Diffstat (limited to 'main/yelp-tools/APKBUILD')
-rw-r--r-- | main/yelp-tools/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/yelp-tools/APKBUILD b/main/yelp-tools/APKBUILD new file mode 100644 index 0000000000..66653d43ba --- /dev/null +++ b/main/yelp-tools/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=yelp-tools +pkgver=3.14.1 +pkgrel=0 +pkgdesc="Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation." +url="https://wiki.gnome.org/Apps/Yelp/Tools" +arch="noarch" +license="GPL/LGPL" +depends="" +depends_dev="" +makedepends="gawk yelp-xsl itstool libxml2-utils libxslt" +install="" +subpackages="" +source="https://download.gnome.org/sources/yelp-tools/${pkgver%.*}/yelp-tools-$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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="c1e82214b07acf6e90e0cdb49e91e01f yelp-tools-3.14.1.tar.xz" +sha256sums="000222baf5d2db394df6025591054976b5cecd0b27872601de7538f36520f60f yelp-tools-3.14.1.tar.xz" +sha512sums="4fd55d62165fc999f3576730942631b9af9c25001daa385fcf45b8a138e852a824028bad3f9cedbcc13f8881ae71f3ec8f7d5be6d0ecf22e408d3b08c5b67798 yelp-tools-3.14.1.tar.xz" |