blob: 2f7f13c9a6bd851cab622b9cec7ae85239babf25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
pkgname=uci
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=(git://nbd.name/uci.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:
|