summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Kalb2015-06-16 13:53:42 +0200
committerMarkus Kalb2015-06-16 13:53:42 +0200
commit4444b7c68cb17bb8e88bffeb8a2a5427ec9d4a54 (patch)
tree579893951eea0aefe12b0e55470661a261639f95
parent7edd5d4ae281e579ab0e27a82a447e727b85020b (diff)
downloadaur-4444b7c68cb17bb8e88bffeb8a2a5427ec9d4a54.tar.gz
PKGBUILD updates for aur4 Arch packaging standards
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 5 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db98d05b83b..08b48c278aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libcxml-git
pkgdesc = A small C++ library which makes it marginally neater to parse XML using libxml++
pkgver = 0.r69.ba540d3
- pkgrel = 3
+ pkgrel = 4
url = http://carlh.net/software/libcxml/
arch = i686
arch = x86_64
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
}