blob: 60c252e8ebac7c1927e423ed9aff27ac43aa05ec (
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
32
33
|
# Maintainer: Ignacio <nachohc89 at gmail dot com>
pkgname=lxc-templates
pkgver=3.0.4
pkgrel=1
pkgdesc="Old style template scripts for LXC"
arch=(any)
url="https://github.com/lxc/lxc-templates"
license=('GPL')
depends=('lxc' 'bash')
source=("https://github.com/lxc/lxc-templates/archive/$pkgname-$pkgver.tar.gz")
md5sums=('2b592c8059da30769589682a6ab95f6a')
options=(!emptydirs)
prepare() {
cd "$pkgname-$pkgname-$pkgver"
./autogen.sh
}
build() {
cd "$pkgname-$pkgname-$pkgver"
./configure --prefix=/usr --localstatedir=/var
make
}
check() {
cd "$pkgname-$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|