1

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

Milan P. Stanić
Details
Message ID
<20180623194046.20554-1-mps@arvanta.net>
Sender timestamp
1529782847
DKIM signature
missing
Download raw message
Patch: +30 -0
https://github.com/phatina/simple-mtpfs
filesystem driver and CLI utility for mounting MTP based devices
---
 testing/simple-mtpfs/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 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..81d3c431d6
--- /dev/null
+++ b/testing/simple-mtpfs/APKBUILD
@@ -0,0 +1,30 @@
+# 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"
+depends=""
+makedepends="libmtp-dev libusb-dev fuse-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://github.com/phatina/simple-mtpfs/archive/${pkgname}-${pkgver}.tar.gz"
+builddir="$srcdir/${pkgname}-${pkgname}-${pkgver}"
+
+build() {
+	cd "$builddir"
+  ./autogen.sh
+	./configure \
+		--prefix=/usr
+	make
+}
+
+package() {
+	cd "$builddir"
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="7d2da152708c01ddd2a39c1b56cba6470bfd320b92507530cdd8fc4f25f9500ff817eac6a5d19c775f31029ae6a0baef693987c59453c60c688b84934378f772  simple-mtpfs-0.3.0.tar.gz"
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8A2Ko_Vdx47Gy8k8X_jas95-SkGTT5Msv43iqJaLdQA4A@mail.gmail.com>
In-Reply-To
<20180623194046.20554-1-mps@arvanta.net> (view parent)
Sender timestamp
1531908760
DKIM signature
missing
Download raw message
Hi,

sorry for the late review. Please see few comments below.

On Sat, Jun 23, 2018 at 9:40 PM, Milan P. Stanić <mps@arvanta.net> wrote:

> https://github.com/phatina/simple-mtpfs
> filesystem driver and CLI utility for mounting MTP based devices
> ---
>  testing/simple-mtpfs/APKBUILD | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 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..81d3c431d6
> --- /dev/null
> +++ b/testing/simple-mtpfs/APKBUILD
> @@ -0,0 +1,30 @@
> +# 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"
>


The license ID is invalid according to the standard we use:
https://spdx.org/licenses/



> +depends=""
> +makedepends="libmtp-dev libusb-dev fuse-dev"
> +install=""
>


Optionally you may remove empy variables.


+subpackages="$pkgname-doc"
> +source="https://github.com/phatina/simple-mtpfs/archive/$
> {pkgname}-${pkgver}.tar.gz"
> +builddir="$srcdir/${pkgname}-${pkgname}-${pkgver}"
> +
> +build() {
> +       cd "$builddir"
> +  ./autogen.sh
>


Indent broken. In any case "autogen.sh" belongs to prepare() function.

Thanks!

/eo