Date: Wednesday, October 19, 2016 @ 06:31:25
  Author: tpowa
Revision: 278980

archrelease: copy trunk to testing-x86_64, testing-i686

Added:
  efivar/repos/testing-i686/
  efivar/repos/testing-i686/PKGBUILD
    (from rev 278979, efivar/trunk/PKGBUILD)
  efivar/repos/testing-x86_64/
  efivar/repos/testing-x86_64/PKGBUILD
    (from rev 278979, efivar/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   58 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   58 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

Copied: efivar/repos/testing-i686/PKGBUILD (from rev 278979, 
efivar/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-10-19 06:31:25 UTC (rev 278980)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer : Tobias Powalowski <tp...@archlinux.org>
+# Contributor : Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efivar"
+pkgdesc="Tools and library to manipulate EFI variables"
+pkgver=28
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efivar";
+license=('LGPL2.1')
+makedepends=('git')
+depends=('popt')
+conflicts=('libefivar')
+provides=("libefivar=${pkgver}")
+options=('strip' 'zipman' 'docs')
+source=("efivar::git+https://github.com/rhinstaller/efivar.git#tag=${pkgver}";)
+#source=("efivar::git+https://github.com/rhinstaller/efivar.git#commit=8740389dded9202167007508670daefd33a7985f";)
+sha1sums=('SKIP')
+
+pkgver() {
+       cd "${srcdir}/efivar/"
+       echo "$(git describe --tags)" | sed -e 's|efivar-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+       
+       cd "${srcdir}/efivar/"
+       
+       git clean -x -d -f
+       echo
+       
+       sed 's|-O0|-Os|g' -i "${srcdir}/efivar/Make.defaults" || true
+       sed 's|-rpath,$(TOPDIR)/src|-rpath,$(libdir)|g' -i 
"${srcdir}/efivar/src/test/Makefile" || true
+}
+
+build() {
+       
+       cd "${srcdir}/efivar/"
+       
+       make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" 
includedir="/usr/include/" V=1 -j1
+        cd "${srcdir}/efivar/src/test"
+        make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" 
includedir="/usr/include/" V=1 -j1
+       echo
+       
+}
+
+package() {
+       
+       cd "${srcdir}/efivar/"
+       
+       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}/efivar/src/test/tester" 
"${pkgdir}/usr/bin/efivar-tester"
+       
+}

Copied: efivar/repos/testing-x86_64/PKGBUILD (from rev 278979, 
efivar/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-10-19 06:31:25 UTC (rev 278980)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer : Tobias Powalowski <tp...@archlinux.org>
+# Contributor : Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
+
+pkgname="efivar"
+pkgdesc="Tools and library to manipulate EFI variables"
+pkgver=28
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/rhinstaller/efivar";
+license=('LGPL2.1')
+makedepends=('git')
+depends=('popt')
+conflicts=('libefivar')
+provides=("libefivar=${pkgver}")
+options=('strip' 'zipman' 'docs')
+source=("efivar::git+https://github.com/rhinstaller/efivar.git#tag=${pkgver}";)
+#source=("efivar::git+https://github.com/rhinstaller/efivar.git#commit=8740389dded9202167007508670daefd33a7985f";)
+sha1sums=('SKIP')
+
+pkgver() {
+       cd "${srcdir}/efivar/"
+       echo "$(git describe --tags)" | sed -e 's|efivar-||g' -e 's|-|\.|g'
+}
+
+prepare() {
+       
+       cd "${srcdir}/efivar/"
+       
+       git clean -x -d -f
+       echo
+       
+       sed 's|-O0|-Os|g' -i "${srcdir}/efivar/Make.defaults" || true
+       sed 's|-rpath,$(TOPDIR)/src|-rpath,$(libdir)|g' -i 
"${srcdir}/efivar/src/test/Makefile" || true
+}
+
+build() {
+       
+       cd "${srcdir}/efivar/"
+       
+       make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" 
includedir="/usr/include/" V=1 -j1
+        cd "${srcdir}/efivar/src/test"
+        make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" 
includedir="/usr/include/" V=1 -j1
+       echo
+       
+}
+
+package() {
+       
+       cd "${srcdir}/efivar/"
+       
+       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}/efivar/src/test/tester" 
"${pkgdir}/usr/bin/efivar-tester"
+       
+}

Reply via email to