From ee8370a2a30d6aa032ef0be3f35c32d7fd1c33e8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 7 Oct 2013 22:45:17 -0400 Subject: update libre/libretools --- libre/libretools/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index 9228e28a5..1c9d0251c 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -9,15 +9,15 @@ pkgdesc="Programs for Parabola development" url="https://projects.parabolagnulinux.org/packages/libretools.git/" license=('GPL3' 'GPL2') -pkgver=20130930 -_libretools_commit=1e16e59a861c8359dffe0af5b8dd4d2922f4018e +pkgver=20131007 +_libretools_commit=75bef554ce82c3c086cc04a4c12ccd2e9644290f _devtools_commit=f566ebf8345cf39f1d50eaa6a679b3ca7088f4eb _packages_url=https://projects.parabolagnulinux.org/packages source=($_packages_url/libretools.git/snapshot/libretools-$_libretools_commit.tar.bz2 $_packages_url/devtools-par.git/snapshot/devtools-par-$_devtools_commit.tar.bz2) -pkgrel=2 +pkgrel=1 arch=('any') makedepends=(emacs ronn) # emacs --batch is used during the build to process text checkdepends=(sh-roundup) @@ -83,5 +83,5 @@ package_libretools-mips64el() { make install-libretools-mips64el DESTDIR="$pkgdir" } -md5sums=('134ad4f9d4d8bad135e28c62b9856cda' +md5sums=('938d9909ed3ed3af9f31f82bbc54e788' 'a3cc8d8fc2daa370799249a4ea5caafc') -- cgit v1.2.3 From 633ed5544cf2a17ce585c2a3383518f41c42729a Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:20:17 -0300 Subject: libubox is needed by uci --- pcr/libubox/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/libubox/PKGBUILD diff --git a/pcr/libubox/PKGBUILD b/pcr/libubox/PKGBUILD new file mode 100644 index 000000000..99f78db78 --- /dev/null +++ b/pcr/libubox/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolás Reynolds +pkgname=libubox +pkgver=0.8.0 +pkgrel=1 +pkgdesc="OpenWRT's Basic Utility Library" +arch=('i686' 'mips64el') +url="https://openwrt.org" +license=('BSD') +makedepends=('git' 'cmake' 'lua51') +source=(git://nbd.name/luci2/libubox.git) +md5sums=(SKIP) + +pkgver() { + cd ${srcdir}/${pkgname} + local ver="$(git describe --long --tags)" + printf "%s" "${ver//-/.}" +} + +build() { + cd ${srcdir}/${pkgname} + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd ${srcdir}/${pkgname} + make DESTDIR=${pkgdir}/ install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 05ea680f5adc872454da591415f32a4531dd5536 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:20:51 -0300 Subject: uci upgrade --- social/uci/PKGBUILD | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/social/uci/PKGBUILD b/social/uci/PKGBUILD index d306b77bd..5a14ac2c0 100644 --- a/social/uci/PKGBUILD +++ b/social/uci/PKGBUILD @@ -6,34 +6,25 @@ 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') +makedepends=('git' 'cmake' 'lua51') +source=(git://nbd.name/uci.git) +md5sums=(SKIP) -# 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 .. +pkgver() { + cd ${srcdir}/${pkgname} + local ver="$(git describe --long --tags)" + printf "%s" "${ver//-/.}" } build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname} - cmake . + cmake -DCMAKE_INSTALL_PREFIX=/usr . make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname} make DESTDIR=${pkgdir}/ install } -- cgit v1.2.3 From 5f492d499f0ae08a1d45d1ddacab283370ff7e2f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:25:54 -0300 Subject: uci upgrade --- pcr/uci/PKGBUILD | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/pcr/uci/PKGBUILD b/pcr/uci/PKGBUILD index 41541fa07..2f7f13c9a 100644 --- a/pcr/uci/PKGBUILD +++ b/pcr/uci/PKGBUILD @@ -1,41 +1,30 @@ # Maintainer: Nicolás Reynolds pkgname=uci -pkgver=0.8.0 -pkgrel=2 +pkgver=v0.8.0.43.g2fcc6d7 +pkgrel=1 pkgdesc="OpenWRT's Unified Configuration Interface" arch=('i686' 'x86_64' 'mips64el') url="https://openwrt.org" license=('GPL2') makedepends=('git' 'cmake' 'lua51') -source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz - uci-0.8.0-lua5.1.patch) -md5sums=('135bf6c4188b72c7fd7954f592b1e4e4' - '2c8f4d59b2b7adb990dcaa07e0ed484c') +source=(git://nbd.name/uci.git) +md5sums=(SKIP) -# 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 .. +pkgver() { + cd ${srcdir}/${pkgname} + local ver="$(git describe --long --tags)" + printf "%s" "${ver//-/.}" } build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/uci-0.8.0-lua5.1.patch - cmake . + cd ${srcdir}/${pkgname} + + cmake -DCMAKE_INSTALL_PREFIX=/usr . make } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname} make DESTDIR=${pkgdir}/ install } -- cgit v1.2.3 From b8103e4b6ee5c578843178f5e8bbbf772c431d77 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:29:23 -0300 Subject: missing libubox --- pcr/uci/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcr/uci/PKGBUILD b/pcr/uci/PKGBUILD index 2f7f13c9a..80194f162 100644 --- a/pcr/uci/PKGBUILD +++ b/pcr/uci/PKGBUILD @@ -1,11 +1,12 @@ # Maintainer: Nicolás Reynolds pkgname=uci pkgver=v0.8.0.43.g2fcc6d7 -pkgrel=1 +pkgrel=2 pkgdesc="OpenWRT's Unified Configuration Interface" arch=('i686' 'x86_64' 'mips64el') url="https://openwrt.org" license=('GPL2') +depends=('libubox') makedepends=('git' 'cmake' 'lua51') source=(git://nbd.name/uci.git) md5sums=(SKIP) -- cgit v1.2.3 From d9073a6c251db76a3356a05856f34f0354cdb606 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:42:39 -0300 Subject: added json-c --- pcr/libubox/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcr/libubox/PKGBUILD b/pcr/libubox/PKGBUILD index 99f78db78..577eecd24 100644 --- a/pcr/libubox/PKGBUILD +++ b/pcr/libubox/PKGBUILD @@ -1,11 +1,12 @@ # Maintainer: Nicolás Reynolds pkgname=libubox pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="OpenWRT's Basic Utility Library" arch=('i686' 'mips64el') url="https://openwrt.org" license=('BSD') +depends=('json-c') makedepends=('git' 'cmake' 'lua51') source=(git://nbd.name/luci2/libubox.git) md5sums=(SKIP) -- cgit v1.2.3 From 029a2e63ff5210df1e98ab38990cf46cb71425ca Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 8 Oct 2013 14:43:55 -0300 Subject: ubus --- pcr/ubus/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pcr/ubus/PKGBUILD diff --git a/pcr/ubus/PKGBUILD b/pcr/ubus/PKGBUILD new file mode 100644 index 000000000..80e14eaf0 --- /dev/null +++ b/pcr/ubus/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Nicolás Reynolds +pkgname=ubus +pkgver=0.8.0 +pkgrel=1 +pkgdesc="OpenWRT's RPC client utility" +arch=('i686' 'mips64el') +url="https://openwrt.org" +license=('LGPL2.1') +depends=('libubox' 'json-c') +makedepends=('git' 'cmake' 'lua51') +source=(git://nbd.name/luci2/ubus.git) +md5sums=(SKIP) + +pkgver() { + cd ${srcdir}/${pkgname} + local ver="$(git describe --long --tags)" + printf "%s" "${ver//-/.}" +} + +build() { + cd ${srcdir}/${pkgname} + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd ${srcdir}/${pkgname} + make DESTDIR=${pkgdir}/ install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3