Fix builddir variable

This commit is contained in:
TBK 2020-04-17 23:15:05 +02:00
parent 7d7a51cbe5
commit c239fd6b6b
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
pkgbase = amiitool
pkgdesc = Reverse-engineered amiibo cryptography
pkgver = 2
pkgrel = 2
pkgrel = 3
url = https://github.com/socram8888/amiitool
arch = x86_64
license = MIT

View File

@ -3,7 +3,7 @@
pkgname=amiitool
pkgver=2
pkgrel=2
pkgrel=3
pkgdesc='Reverse-engineered amiibo cryptography'
url='https://github.com/socram8888/amiitool'
arch=('x86_64')
@ -16,16 +16,16 @@ md5sums=('a3c193286e4930fa903d742424f5cad5'
_builddir="$pkgname-r$pkgver"
prepare() {
cd "_$builddir"
patch -p1 < "${srcdir}/fix-mbedtls_include.patch"
cd "$_builddir"
patch -p1 < "$srcdir/fix-mbedtls_include.patch"
}
build() {
cd "_$builddir"
cd "$_builddir"
make prefix=/usr
}
package() {
cd "_$builddir"
cd "$_builddir"
make prefix=/usr DESTDIR="$pkgdir" install
}