diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -1,28 +1,26 @@ # Maintainer: goetzc # Contributor: Dan Liew <dan at su-root dot co dot uk> pkgname=simple-mtpfs -pkgver=0.3.0 +pkgver=0.4.0 pkgrel=1 pkgdesc="A FUSE filesystem that supports reading/writing from MTP devices" arch=('i686' 'x86_64') url="https://github.com/phatina/simple-mtpfs/" license=('GPL2') +makedepends=('autoconf-archive') depends=('libmtp' 'fuse' 'gcc-libs') -source=(https://github.com/phatina/simple-mtpfs/archive/$pkgname-$pkgver.tar.gz) -sha1sums=('9bbb315a4cc1020cdffbfea969dbd3c7a364c42d') +source=("$pkgname-$pkgver.tar.gz::https://github.com/phatina/$pkgname/archive/v$pkgver.tar.gz") build() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" - if [[ ! -e "./configure" ]]; then - ./autogen.sh - ./configure --prefix=/usr - else - ./config.status - fi + cd "$srcdir/$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } + +sha256sums=('1d011df3fa09ad0a5c09d48d84c03e6cddf86390af9eb4e0c178193f32f0e2fc') |