diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-04 10:30:49 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-04 10:30:49 +0100 |
commit | ad63cdb5324392490de7e1f70ad3256ebf32603d (patch) | |
tree | cd8e31855114a730c3901f80e341c2f4486ba473 /social | |
parent | 8288f4022c5673fa36117598c7e7a3f6c2dfb1e2 (diff) | |
parent | f0fa42126da9e3eec6b98388b35c67929fa20dae (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/radvd/PKGBUILD
extra/samba/PKGBUILD
extra/tftp-hpa/PKGBUILD
libre/linux-libre/PKGBUILD
multilib-testing/gcc-multilib/PKGBUILD
multilib/wine/PKGBUILD
testing/gcc/PKGBUILD
testing/sudo/PKGBUILD
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: |