diff options
author | Chris Severance | 2015-08-15 18:17:43 -0400 |
---|---|---|
committer | Chris Severance | 2015-08-15 18:17:43 -0400 |
commit | 548a90326c9c4a6b0899101122ee4ab84f14a31f (patch) | |
tree | 20c20dee54dc65a6cd4f310539f8e8189b71c293 | |
parent | dba75853c475b7a72c84ccc77b83171c0847b057 (diff) | |
download | aur-548a90326c9c4a6b0899101122ee4ab84f14a31f.tar.gz |
Update to ver 0.2.3.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 23 insertions, 10 deletions
@@ -1,8 +1,8 @@ pkgbase = libgxps-git pkgdesc = An XPS Documents library - pkgver = 0.2.2.r34.gda79d91 + pkgver = 0.2.3.1.r0.gb62ce7e pkgrel = 1 - url = http://git.gnome.org/browse/libgxps/ + url = https://git.gnome.org/browse/libgxps/ arch = i686 arch = x86_64 license = GPL @@ -13,7 +13,7 @@ pkgbase = libgxps-git depends = cairo depends = libarchive depends = libtiff - provides = libgxps + provides = libgxps=0.2.3.1 conflicts = libgxps source = git://git.gnome.org/libgxps sha256sums = SKIP @@ -4,18 +4,20 @@ set -u _pkgname='libgxps' pkgname='libgxps-git' -pkgver=0.2.2.r34.gda79d91 +pkgver=0.2.3.1.r0.gb62ce7e pkgrel=1 pkgdesc='An XPS Documents library' arch=('i686' 'x86_64') -url='http://git.gnome.org/browse/libgxps/' +url="https://git.gnome.org/browse/${_pkgname}/" license=('GPL') depends=('cairo' 'libarchive' 'libtiff') makedepends=('git' 'gnome-common' 'gtk-doc' 'gobject-introspection') -provides=('libgxps') -conflicts=('libgxps') - -source=('git://git.gnome.org/libgxps') +provides=("${_pkgname}=${pkgver%.r*}") +conflicts=("${_pkgname}") +_verurl="${url}" +_versed="/browse/${_pkgname}/snapshot/${_pkgname}-\([0-9\.]\+\)\.tar\.xz" +_veropt='l' +source=("git://git.gnome.org/${_pkgname}") sha256sums=('SKIP') pkgver() { @@ -28,7 +30,7 @@ pkgver() { prepare() { set -u cd "${srcdir}/${_pkgname}" - ./autogen.sh + ./autogen.sh --prefix='/usr' ./configure --prefix='/usr' --disable-test set +u } @@ -45,5 +47,16 @@ package() { cd "${srcdir}/${_pkgname}" make DESTDIR="${pkgdir}/" install # This generates some /usr/lib errors set +u + # Ensure there are no forbidden paths. Place at the end of package() and comment out as you find or need exceptions. (git-aurcheck) + ! test -d "${pkgdir}/bin" || { echo "Line ${LINENO} Forbidden: /bin"; false; } + ! test -d "${pkgdir}/sbin" || { echo "Line ${LINENO} Forbidden: /sbin"; false; } + ! test -d "${pkgdir}/lib" || { echo "Line ${LINENO} Forbidden: /lib"; false; } + ! test -d "${pkgdir}/share" || { echo "Line ${LINENO} Forbidden: /share"; false; } + ! test -d "${pkgdir}/usr/sbin" || { echo "Line ${LINENO} Forbidden: /usr/sbin"; false; } + ! test -d "${pkgdir}/usr/local" || { echo "Line ${LINENO} Forbidden: /usr/local"; false; } + ! grep -lr "/sbin" "${pkgdir}" || { echo "Line ${LINENO} Forbidden: /sbin"; false; } + ! grep -lr "/usr/tmp" "${pkgdir}" || { echo "Line ${LINENO} Forbidden: /usr/tmp"; false; } + ! grep -lr "/usr/local" "${pkgdir}" || { echo "Line ${LINENO} Forbidden: /usr/local"; false; } + ! pcre2grep -Ilr "(?<!/usr)/bin" "${pkgdir}" || { echo "Line ${LINENO} Forbidden: /bin"; false; } } set +u |