diff options
author | root <root@rshg054.dnsready.net> | 2013-09-17 01:42:42 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-17 01:42:42 -0700 |
commit | a1ec78e8d16098adb2e9e1cf4e364625e74c3bc4 (patch) | |
tree | df5debed7978d781494c73a98f73921edea769cc /extra/efivar/PKGBUILD | |
parent | bce247d29e4c6f3b30326d485942cc2d3614430f (diff) |
Tue Sep 17 01:42:37 PDT 2013
Diffstat (limited to 'extra/efivar/PKGBUILD')
-rw-r--r-- | extra/efivar/PKGBUILD | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/extra/efivar/PKGBUILD b/extra/efivar/PKGBUILD deleted file mode 100644 index df5cc9ad9..000000000 --- a/extra/efivar/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# $Id: PKGBUILD 193971 2013-09-09 10:46:11Z tpowa $ -# Maintainer : Tobias Powalowski <tpowa@archlinux.org> -# Contributor : Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> - -_gitroot="git://github.com/vathpela/efivar.git" -_gitname="efivar" -_gitbranch="master" - -_pkgname="efivar" -pkgname="${_pkgname}" - -pkgdesc="Library to manipulate EFI variables" -pkgver=0.6 -pkgrel=1 -arch=('x86_64' 'i686') -url="https://github.com/vathpela/efivar" -license=('LGPL2.1') -depends=('popt') -conflicts=('libefivar') -provides=('libefivar') -options=('zipman' 'docs' '!makeflags') - -source=("${_gitname}::git+${_gitroot}#branch=${_gitbranch}") -sha1sums=('SKIP') - -pkgver() { - cd "${srcdir}/${_gitname}/" - echo "$(git describe --tags)" | sed 's|-|\.|g' -} - -build() { - - rm -rf "${srcdir}/${_gitname}_build/" || true - cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}_build" - - cd "${srcdir}/${_gitname}_build/" - - git clean -x -d -f - echo - - unset CFLAGS - unset CPPFLAGS - unset CXXFLAGS - unset LDFLAGS - unset MAKEFLAGS - - 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 - -} - -package() { - - cd "${srcdir}/${_gitname}_build/" - - make -j1 V=1 DESTDIR="${pkgdir}/" libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" includedir="/usr/include/" install - echo - - install -d "${pkgdir}/usr/bin" - install -D -m0755 "${srcdir}/${_gitname}_build/src/test/tester" "${pkgdir}/usr/bin/efivar-tester" - -} |