summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 4 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81353a3c73c..9db02e05064 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,42 +2,31 @@
# Contributor: Stefan Karner <stefan.karner@student.tuwien.ac.at>
pkgname=libcxml-git
pkgver=0.r69.ba540d3
-pkgrel=3
+pkgrel=4
pkgdesc="A small C++ library which makes it marginally neater to parse XML using libxml++"
arch=('i686' 'x86_64')
url="http://carlh.net/software/libcxml/"
license=('GPL')
-groups=
depends=('libxml++>=2.6' 'boost-libs')
makedepends=('python2' 'pkg-config' 'boost')
-optdepends=()
provides=(libcxml)
conflicts=(libcxml)
-replaces=()
-backup=()
-options=()
-install=
source=("libcxml-git::git+http://git.carlh.net/git/libcxml.git")
sha256sums=('SKIP')
-
-# git variables
-_gitname='libcxml-git'
-
pkgver() {
- cd "$_gitname"
-
+ cd libcxml-git
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$_gitname"
+ cd libcxml-git
python2 waf configure --prefix=/usr
python2 waf build
}
package() {
- cd "$_gitname"
+ cd libcxml-git
python2 waf install --destdir=$pkgdir
}