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

From: Milan P. Stanić <[email-masked]>
Date: Thu, 17 Jan 2019 00:04:48 +0100

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ć <[email-masked]>
+# Maintainer: Milan P. Stanić <[email-masked]>
+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:  [email-masked]
Help:         [email-masked]
---