X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.infogroup.kiev.ua (tera.infogroup.kiev.ua [195.144.25.26]) by lists.alpinelinux.org (Postfix) with ESMTP id 0EC025C49EF for ; Tue, 31 Jan 2017 22:55:04 +0000 (GMT) Received: from ost.org.ua ([195.144.25.230] helo=alpine.ost.org.ua) by mail.infogroup.kiev.ua with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1cYhKJ-0007KV-MU for alpine-aports@lists.alpinelinux.org; Wed, 01 Feb 2017 00:55:03 +0200 From: Valery Kartel To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/fuse-exfat: upgrade to 1.2.6 Date: Wed, 1 Feb 2017 00:54:55 +0200 Message-Id: <20170131225455.11519-1-valery.kartel@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: droid@infogroup.kiev.ua X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: -- apkbuild cleanups change source to build both fuse-exfat & exfat-utils fuse-exfat provides exfat fuse-exfat-utils provides exfat-utils --- testing/fuse-exfat/APKBUILD | 56 ++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/testing/fuse-exfat/APKBUILD b/testing/fuse-exfat/APKBUILD index b4bf37654b..25cc549835 100644 --- a/testing/fuse-exfat/APKBUILD +++ b/testing/fuse-exfat/APKBUILD @@ -1,47 +1,41 @@ +# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=fuse-exfat -pkgver=1.2.3 +_pkgreal=exfat +pkgver=1.2.6 pkgrel=0 pkgdesc="Free exFAT file system implementation" url="https://github.com/relan/exfat" arch="all" license="GPL2+" +provides="$_pkgreal" depends="fuse" -depends_dev="" -makedepends="$depends_dev fuse-dev" -install="" -subpackages="$pkgname-doc" -source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/fuse-exfat-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +makedepends="autoconf automake fuse-dev" +subpackages="$pkgname-doc $pkgname-utils" +source="$_pkgreal-$pkgver.tar.gz::https://github.com/relan/$_pkgreal/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$_builddir" - - ./configure --prefix=/usr --sbindir=/usr/bin || return 1 - make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" + cd "$builddir" + autoreconf --install || return 1 + ./configure --prefix=/usr || return 1 + make || return 1 } package() { - cd "$_builddir" - - make DESTDIR="${pkgdir}" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} - # Install man page - install -Dm444 fuse/mount.exfat-fuse.8 \ - "${pkgdir}/usr/share/man/man8/mount.exfat-fuse.8" \ - || return 1 +utils() { + pkgdesc="$pkgdesc (utilities)" + provides="$_pkgreal-utils" + mkdir -p "$subpkgdir"/usr/sbin + local file; for file in $(find "$pkgdir"/usr/sbin ! -name "mount*" -a ! -type d); do + mv $file "$subpkgdir"/${file#$pkgdir} + done } -md5sums="fca71e6598f79d037a3c7c969cb5710c fuse-exfat-1.2.3.tar.gz" -sha256sums="f2e06eba5a21c621aac1d6da21b12a5a324fdd1e20f9c8acd357dd463c2355d9 fuse-exfat-1.2.3.tar.gz" -sha512sums="960f24325af3604a6c3643462e53c989e0b06cafd8cfc1ac8872a37fe149d106d0155fe578f2d8f15f330c51f1bc653d296f01b1adf7aa7028a9d8a73215f692 fuse-exfat-1.2.3.tar.gz" +md5sums="f35e932d0aa9231916f91b9df2e2cf4a exfat-1.2.6.tar.gz" +sha256sums="1afe3ab4141414c760cfb6e2dca2491b484d07dd0c79879e72b84ad0664038cd exfat-1.2.6.tar.gz" +sha512sums="76f9ece1ea0d449c48ae71d367021ed7cee05b1619239954b725adbe68c33b76046a8620c64dbebdcc69f2ca32abd242e12f4d592a00cd7fdd2277ff6803fc96 exfat-1.2.6.tar.gz" -- 2.11.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---