summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIvan Shapovalov2019-12-16 01:22:35 +0300
committerIvan Shapovalov2019-12-16 01:22:35 +0300
commit45068ef82307aad3f7a89a046e688b0a64fa9f7a (patch)
tree1eca0169f877d579a966754ab13157bfab8fc510 /PKGBUILD
parentfadeea54862961b0cf44cb98cab267cef8d5757b (diff)
downloadaur-45068ef82307aad3f7a89a046e688b0a64fa9f7a.tar.gz
Add prepare()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb3a2f053aa..2eb3d5974db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,28 +18,24 @@ sha256sums=('SKIP'
pkgver() {
cd idevicerestore
-
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd idevicerestore
-
for p in "${srcdir}"/*.patch; do
patch -Np1 -i "${p}"
done
-# sed -re 's|automake|& --add-missing|' -i autogen.sh
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
cd idevicerestore
-
- ./autogen.sh --prefix=/usr
+ ./configure --prefix=/usr
make
}
package() {
cd idevicerestore
-
make DESTDIR="$pkgdir" install
}