diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
commit | e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc (patch) | |
tree | c6b816e7ba8f9b659e1be415ebf1dac4262c3b82 /main/ciwiki/APKBUILD | |
parent | 452d447d89b3a3775b7f602d7352a8cfe8a0f9d4 (diff) | |
download | aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.bz2 aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.xz |
testing/*: move to main
Diffstat (limited to 'main/ciwiki/APKBUILD')
-rw-r--r-- | main/ciwiki/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/main/ciwiki/APKBUILD b/main/ciwiki/APKBUILD new file mode 100644 index 0000000000..feb6e7ebe9 --- /dev/null +++ b/main/ciwiki/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=ciwiki +pkgver=2.0.3 +pkgrel=0 +pkgdesc="A personal lightweight wiki written in C" +url="http://ciwiki.sourceforge.net/" +arch="all" +license="GPL3" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --libexecdir=/usr/lib/ciwiki \ + || return 1 + make + +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" + +} + +md5sums="5c4e5e14e99566bd6ea430747ff8f6dd ciwiki-2.0.3.tar.gz" +sha256sums="ffd23f8b9a3769c2aaf191b24092fb65c0b3fe9ea5831a1a53e7822678ce2569 ciwiki-2.0.3.tar.gz" +sha512sums="eaccbe366ec3215993471d371f2c4d885139dbb6afae2767cf1cd4580555054524591b0e77a4281d00f52dafa0ee93d532ac49ed6b486885f813340debab45f2 ciwiki-2.0.3.tar.gz" |