[arch-commits] Commit in memconf/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Sat Nov 25 00:00:52 UTC 2017


    Date: Saturday, November 25, 2017 @ 00:00:51
  Author: kkeen
Revision: 268377

upgpkg: memconf 3.14-1

Modified:
  memconf/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 23:59:54 UTC (rev 268376)
+++ PKGBUILD	2017-11-25 00:00:51 UTC (rev 268377)
@@ -3,7 +3,7 @@
 # Contributor : Martin Wimpress <code at flexion.org>
 
 pkgname=memconf
-pkgver=3.13
+pkgver=3.14
 pkgrel=1
 pkgdesc="Identify sizes of installed memory modules."
 arch=('any')
@@ -10,18 +10,18 @@
 url="http://www.4schmidts.com/memconf.html"
 license=('GPL')
 depends=('dmidecode' 'perl')
-source=("http://www.4schmidts.com/unix/${pkgname}.gz"
-        "http://www.4schmidts.com/unix/${pkgname}.man")
-sha1sums=('c526a79cbb44875ed1175b472a43ae233bbb34d2'
-          '5bd6704a1567c41983b50f74faea28b1f791c940')
+source=("$pkgname-$pkgver.gz::http://www.4schmidts.com/unix/$pkgname.gz"
+        "$pkgname-$pkgver.man::http://www.4schmidts.com/unix/$pkgname.man")
+sha1sums=('eb2231a5fdb2722d13e03a464fd676cdb339db7d'
+          'c6584b81b3c4051680ac27e7942fa1a06ad90685')
 
 build() {
-    cd "${srcdir}"
-    zcat ${pkgname}.gz > "${pkgname}"
+    cd "$srcdir"
+    zcat "$pkgname-$pkgver.gz" > "$pkgname"
 }
 
 package() {
-    cd "${srcdir}"
-    install -Dm0755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-    install -Dm0755 "${pkgname}.man" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+    cd "$srcdir"
+    install -Dm0755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+    install -Dm0755 "$pkgname-$pkgver.man" "$pkgdir/usr/share/man/man1/$pkgname.1"
 }



More information about the arch-commits mailing list