diff options
author | Ivan Shapovalov | 2019-12-16 01:22:35 +0300 |
---|---|---|
committer | Ivan Shapovalov | 2019-12-16 01:22:35 +0300 |
commit | 45068ef82307aad3f7a89a046e688b0a64fa9f7a (patch) | |
tree | 1eca0169f877d579a966754ab13157bfab8fc510 | |
parent | fadeea54862961b0cf44cb98cab267cef8d5757b (diff) | |
download | aur-45068ef82307aad3f7a89a046e688b0a64fa9f7a.tar.gz |
Add prepare()
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 } |