[alpine-aports] [PATCH] testing/simple-mtpfs: new aport

Milan P. Stanić
Details
Message ID
<20190116230448.4104-1-mps@arvanta.net>
Sender timestamp
1547679888
DKIM signature
missing
Download raw message
Patch: +33 -0
https://github.com/phatina/simple-mtpfs
filesystem driver and CLI utility for mounting MTP based devices
---
Changes v1 -> v2
 set license to SPDX format
 fix indentations
 disable check, package doesn't test suite
 autogen.sh moved to prepare()

 testing/simple-mtpfs/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/simple-mtpfs/APKBUILD

diff --git a/testing/simple-mtpfs/APKBUILD b/testing/simple-mtpfs/APKBUILD
new file mode 100644
index 0000000000..0faa3ab6ea
--- /dev/null
+++ b/testing/simple-mtpfs/APKBUILD
@@ -0,0 +1,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"
-- 
2.18.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---