mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
701 B
Bash
30 lines
701 B
Bash
# Maintainer: Francesco Marinucci <franzmari [at] chakra-project [dot] it>
|
|
|
|
pkgname=ctemplate
|
|
pkgver=2.3
|
|
pkgrel=1
|
|
pkgdesc="A library implementing a simple but powerful template language for C++"
|
|
arch=('x86_64')
|
|
url="http://code.google.com/p/ctemplate/"
|
|
license=('BSD')
|
|
depends=('gcc-libs')
|
|
makedepends=('subversion')
|
|
options=('!libtool')
|
|
source=(svn+http://$pkgname.googlecode.com/svn/tags/$pkgname-$pkgver/)
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
|
|
CXXFLAGS="$CXXFLAGS" ./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
#license
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|