diff options
author | Mauro Santos | 2015-10-18 19:43:05 +0100 |
---|---|---|
committer | Mauro Santos | 2015-10-18 19:43:05 +0100 |
commit | bfa23e450059b6457c14366927cbd5673215cab7 (patch) | |
tree | 5123249704d5637f756b7dd08596befe9820d202 | |
parent | 735235600f8b3fb8868110b5a831e1f1e4cfc37a (diff) | |
download | aur-bfa23e450059b6457c14366927cbd5673215cab7.tar.gz |
Build release versions instead of the default debug versions.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = sedutil pkgdesc = TCG OPAL 2.00 SED Management Program pkgver = 1.00 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Drive-Trust-Alliance/sedutil install = sedutil.install arch = i686 @@ -2,7 +2,7 @@ pkgname=sedutil pkgver=1.00 -pkgrel=1 +pkgrel=2 pkgdesc="TCG OPAL 2.00 SED Management Program" arch=('i686' 'x86_64') url="https://github.com/Drive-Trust-Alliance/sedutil" @@ -15,14 +15,14 @@ CPPFLAGS="$CPPFLAGS -O2" build() { cd "${srcdir}/${pkgname}-${pkgver}/linux/CLI/" - make + make CONF=Release_$CARCH build cd "${srcdir}/${pkgname}-${pkgver}/LinuxPBA/" - make + make CONF=Release_$CARCH build } package() { cd "${srcdir}/${pkgname}-${pkgver}/" - install -Dm755 "linux/CLI/dist/Debug_i686/GNU-Linux-x86/sedutil-cli" "${pkgdir}/usr/bin/sedutil-cli" + install -Dm755 "linux/CLI/dist/Release_$CARCH/GNU-Linux-x86/sedutil-cli" "${pkgdir}/usr/bin/sedutil-cli" install -Dm644 "linux/PSIDRevert_LINUX.txt" "${pkgdir}/usr/share/doc/${pkgname}/PSIDRevert.txt" - install -Dm755 "LinuxPBA/dist/Debug/GNU-Linux-x86/linuxpba" "${pkgdir}/usr/bin/linuxpba" + install -Dm755 "LinuxPBA/dist/Release_$CARCH/GNU-Linux-x86/linuxpba" "${pkgdir}/usr/bin/linuxpba" } |