summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeshav Amburay2013-06-19 00:52:38 +0530
committerKeshav Amburay2013-06-19 00:52:38 +0530
commit5af86be59ef174d3bfeeac103a4a801f33fe7074 (patch)
tree3b2bfd8991bd7436e59a03578c82c80c7b0d0aa1
parenta56814df533232849f85bf43b9a6a65881de0a07 (diff)
downloadaur-5af86be59ef174d3bfeeac103a4a801f33fe7074.tar.gz
Fix namcap rpath warning, Add popt depends and bump pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7fa83670a46..368123cca025 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = efivar-git
pkgdesc = Library to manipulate EFI variables - GIT Version
- pkgver = 0.4_13_g3beac07
+ pkgver = 0.4_18_gb8c524c
pkgrel = 1
url = https://github.com/vathpela/efivar
arch = x86_64
arch = i686
license = LGPL2.1
- depends = glibc
+ depends = popt
provides = efivar
provides = libefivar
provides = libefivar-git
diff --git a/PKGBUILD b/PKGBUILD
index a6038621fa76..5a23cde4fcac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,12 +9,12 @@ pkgname="${_pkgname}-git"
pkgdesc="Library to manipulate EFI variables - GIT Version"
-pkgver=0.4_13_g3beac07
+pkgver=0.4_18_gb8c524c
pkgrel=1
arch=('x86_64' 'i686')
url="https://github.com/vathpela/efivar"
license=('LGPL2.1')
-depends=('glibc')
+depends=('popt')
conflicts=("${_pkgname}" 'libefivar' 'libefivar-git')
provides=("${_pkgname}" 'libefivar' 'libefivar-git')
options=('strip' 'emptydirs' 'zipman' 'libtool' 'docs')
@@ -34,14 +34,16 @@ build() {
cd "${srcdir}/${_gitname}_build/"
+ git clean -x -d -f
+ echo
+
unset CFLAGS
unset CPPFLAGS
unset CXXFLAGS
unset LDFLAGS
unset MAKEFLAGS
- make V=1 -j1 clean || true
- echo
+ sed 's|-rpath=$(TOPDIR)/src/|-rpath=$(libdir)|g' -i "${srcdir}/${_gitname}_build/src/test/Makefile" || true
make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" includedir="/usr/include/" V=1 -j1
echo