diff options
author | Ivan Shapovalov | 2023-05-05 18:37:00 +0300 |
---|---|---|
committer | Ivan Shapovalov | 2023-05-05 18:37:00 +0300 |
commit | 0017998d0916807ea3401af8ba734072da2d1cef (patch) | |
tree | a50213114eaf161cf561a2f8cace8854dfc43070 /PKGBUILD | |
parent | e6b16c03c92e681ba627dd6c7ed4c5b590127f6c (diff) | |
download | aur-ifuse-git.tar.gz |
Prettify, resync against other libimobiledevice PKGBUILDs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -3,34 +3,42 @@ pkgname=ifuse-git epoch=2 -pkgver=1.1.4.r1.g38c9f45 -pkgrel=1 +pkgver=1.1.4.r5.g814a0e3 +pkgrel=2 pkgdesc='A fuse filesystem to access the contents of an iPhone or iPod Touch' url='http://libimobiledevice.org/' arch=('i686' 'x86_64') license=('LGPL2.1') depends=('libimobiledevice-git' 'libplist-git' 'fuse') makedepends=('git') -provides=('ifuse') +provides=("ifuse=$pkgver") conflicts=('ifuse') source=("git+https://github.com/libimobiledevice/ifuse") md5sums=('SKIP') pkgver() { cd ifuse + git describe --long --tags | sed 's/[^-]*-g/r&/;s/-/./g' +} - git describe --long --tags | sed 's/-/.r/;s/-/./' +prepare() { + cd ifuse + NOCONFIGURE=1 ./autogen.sh } build() { cd ifuse - - ./autogen.sh --prefix=/usr + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + #sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # not needed anymore (libtool honors $LDFLAGS now) make } -package() { +check() { cd ifuse + make check +} +package() { + cd ifuse make DESTDIR="${pkgdir}" install } |