summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db98d05b83b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = libcxml-git
+ pkgdesc = A small C++ library which makes it marginally neater to parse XML using libxml++
+ pkgver = 0.r69.ba540d3
+ pkgrel = 3
+ url = http://carlh.net/software/libcxml/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = python2
+ makedepends = pkg-config
+ makedepends = boost
+ depends = libxml++>=2.6
+ depends = boost-libs
+ provides = libcxml
+ conflicts = libcxml
+ source = libcxml-git::git+http://git.carlh.net/git/libcxml.git
+ sha256sums = SKIP
+
+pkgname = libcxml-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81353a3c73c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Markus Kalb <mk@filmkreis.tu-darmstadt.de>
+# Contributor: Stefan Karner <stefan.karner@student.tuwien.ac.at>
+pkgname=libcxml-git
+pkgver=0.r69.ba540d3
+pkgrel=3
+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"
+
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$_gitname"
+ python2 waf configure --prefix=/usr
+ python2 waf build
+}
+
+package() {
+ cd "$_gitname"
+ python2 waf install --destdir=$pkgdir
+}
+