aboutsummaryrefslogtreecommitdiffstats
path: root/testing/simple-mtpfs/APKBUILD
blob: 0faa3ab6eaa610a7419dd8c6851d744dd962f597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=simple-mtpfs
pkgver=0.3.0
pkgrel=0
pkgdesc="filesystem driver and CLI utility for MTP based devices"
url="https://github.com/phatina/simple-mtpfs"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="autoconf automake libmtp-dev libusb-dev fuse-dev"
options="!check"  # No test suite.
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/phatina/simple-mtpfs/archive/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/${pkgname}-${pkgname}-${pkgver}"

prepare() {
	cd "$builddir"
	./autogen.sh
	./configure --prefix=/usr
	./autogen.sh
}
build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" make install
}

sha512sums="7d2da152708c01ddd2a39c1b56cba6470bfd320b92507530cdd8fc4f25f9500ff817eac6a5d19c775f31029ae6a0baef693987c59453c60c688b84934378f772  simple-mtpfs-0.3.0.tar.gz"