diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-08-28 12:23:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-28 22:27:21 +0000 |
commit | 76e13b99e5ed94e61d293a81f46f43a66c421261 (patch) | |
tree | 519638b417b8149982b4030016d9e84f02ca3994 /main/ciwiki/APKBUILD | |
parent | 32f78b1f669188be2ab8efbb234b3040bb737e5e (diff) | |
download | aports-76e13b99e5ed94e61d293a81f46f43a66c421261.tar.bz2 aports-76e13b99e5ed94e61d293a81f46f43a66c421261.tar.xz |
main/ciwiki: modernize APKBUILD and mark no test suite
Diffstat (limited to 'main/ciwiki/APKBUILD')
-rw-r--r-- | main/ciwiki/APKBUILD | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/main/ciwiki/APKBUILD b/main/ciwiki/APKBUILD index ffd4b610af..65878da636 100644 --- a/main/ciwiki/APKBUILD +++ b/main/ciwiki/APKBUILD @@ -2,48 +2,32 @@ # Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> pkgname=ciwiki pkgver=2.0.5 -pkgrel=0 +pkgrel=1 pkgdesc="A personal lightweight wiki written in C" url="http://ciwiki.sourceforge.net/" arch="all" license="GPL3" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" +options="!check" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/project/${pkgname}/${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 -} +builddir="${srcdir}/${pkgname}-${pkgver}" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man \ - --libexecdir=/usr/lib/ciwiki \ - || return 1 + --libexecdir=/usr/lib/ciwiki make - } package() { - cd "$_builddir" + cd "$builddir" make install DESTDIR="$pkgdir" } -md5sums="2b038ca354c1d53e84dd76c8f49b9a07 ciwiki-2.0.5.tar.gz" -sha256sums="144b18e4dc6e024fe39ba948311893387fdce90a9bd1bb7d2d81faa6f512d9d0 ciwiki-2.0.5.tar.gz" sha512sums="ce4aefb8fa7cc0630b1d1841260452d50f762a8c8b3e8da1fb0c878cada9ccfc1824d1e20004db8bc8f9c77a0658879e3fa97c4914e73618b404937fb5ea1c29 ciwiki-2.0.5.tar.gz" |