diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-03-04 17:33:56 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-03-04 17:33:56 -0500 |
commit | 52da029144be979ab29307f7456478a11451b4eb (patch) | |
tree | 95744c891fe606f88c893da7b31bfdef656a5931 /social | |
parent | 31bada44e336927d2c9bcb99f1acabb69ce8b6a4 (diff) | |
parent | 00a330d6e292702ccdfe4813d261f4ac6397a802 (diff) | |
download | abslibre-52da029144be979ab29307f7456478a11451b4eb.tar.gz abslibre-52da029144be979ab29307f7456478a11451b4eb.tar.bz2 abslibre-52da029144be979ab29307f7456478a11451b4eb.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'social')
-rw-r--r-- | social/uci/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/social/uci/PKGBUILD b/social/uci/PKGBUILD new file mode 100644 index 000000000..d306b77bd --- /dev/null +++ b/social/uci/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +pkgname=uci +pkgver=0.8.0 +pkgrel=1 +pkgdesc="OpenWRT's Unified Configuration Interface" +arch=('i686' 'mips64el') +url="https://openwrt.org" +license=('GPL2') +makedepends=('git' 'cmake' 'lua') +source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz) +md5sums=('135bf6c4188b72c7fd7954f592b1e4e4') + +# source PKGBUILD; mksource +mksource() { + + if [ -d uci/.git ]; then + pushd uci; git pull; popd + else + git clone git://nbd.name/uci.git + fi + + cd uci/ + git archive --prefix=${pkgname}-${pkgver}/ v${pkgver} | \ + gzip -9 > ../${pkgname}-${pkgver}.tar.gz + cd .. +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + cmake . + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir}/ install +} + +# vim:set ts=2 sw=2 et: |