Date: Wednesday, March 14, 2018 @ 00:52:08
  Author: anthraxx
Revision: 307513

upgpkg: exfat-utils 1.2.8-1

Modified:
  exfat-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-14 00:43:47 UTC (rev 307512)
+++ PKGBUILD    2018-03-14 00:52:08 UTC (rev 307513)
@@ -1,38 +1,38 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giova...@archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giova...@archlinux.org>
 # Contributor: Alex <mail.ava...@gmail.com>
 
 pkgname=exfat-utils
-pkgver=1.2.7
+pkgver=1.2.8
 pkgrel=1
-pkgdesc="Utilities for exFAT file system"
+pkgdesc='Utilities for exFAT file system'
+url='https://github.com/relan/exfat'
 arch=('x86_64')
-url="https://github.com/relan/exfat";
 license=('GPL2')
 depends=('glibc' 'fuse2')
 conflicts=('fuse-exfat')
 provides=('fuse-exfat')
 replaces=('fuse-exfat')
-source=("$pkgname-$pkgver.zip::https://github.com/relan/exfat/archive/v$pkgver.zip";)
-md5sums=('b32dc1c1629e6ce9b76fabd79a1d6589')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/relan/exfat/archive/v${pkgver}.tar.gz)
+sha512sums=('2805d8a59c53db348265943bfd5537aa1dfc87582fb1a3e9cba6ab112b93632be3c0932f72b57c7839d60faf1d455f56fd7d7a7f49e3e9419f4b6715332e939a')
 
+prepare() {
+  cd exfat-${pkgver}
+  autoreconf -fiv
+}
+
 build() {
-  cd exfat-$pkgver
-
-  autoreconf -i
-  ./configure --prefix=/usr \
-              --sbindir=/usr/bin
-
-  make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}"
+  cd exfat-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin
+  make CCFLAGS="${CFLAGS} ${CPPFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}"
 }
 
 package() {
-  cd exfat-$pkgver
-
+  cd exfat-${pkgver}
   make DESTDIR="${pkgdir}" install
+  install -Dm 644 */*.8 -t "${pkgdir}/usr/share/man/man8"
+}
 
-  # Install man pages
-  install -d "${pkgdir}/usr/share/man/man8/"
-  install -m444 dump/dumpexfat.8 fsck/exfatfsck.8 mkfs/mkexfatfs.8 
label/exfatlabel.8 fuse/mount.exfat-fuse.8 \
-      "${pkgdir}/usr/share/man/man8/"
-}
+# vim: ts=2 sw=2 et:

Reply via email to