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

Kyle Keen kkeen at archlinux.org
Thu Sep 19 01:17:17 UTC 2019


    Date: Thursday, September 19, 2019 @ 01:17:17
  Author: kkeen
Revision: 511128

upgpkg: wtf 20180621-1

Modified:
  wtf/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-19 00:50:49 UTC (rev 511127)
+++ PKGBUILD	2019-09-19 01:17:17 UTC (rev 511128)
@@ -2,25 +2,30 @@
 # Contributor: Jeff Mickey <j at codemac.net>
 
 pkgname=wtf
-pkgver=20071004
-pkgrel=6
-pkgdesc="Acronym dictionary"
+pkgver=20180621
+pkgrel=1
+pkgdesc="Acronym dictionary, with additions from NetBSD and wikipedia"
 arch=('any')
 url="http://www.mu.org/~mux/wtf/"
 license=('BSD')
-source=("http://www.mu.org/~mux/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+makedepends=('git')
+#source=("http://www.mu.org/~mux/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source=("git+https://github.com/void-linux/netbsd-wtf#commit=b1e5be48"
         "https://raw.github.com/keenerd/wtf/0623381d92b2c5d3e94b00c9eb06fb5d4d85d014/acronyms.computing"
         'LICENSE')
-md5sums=('25944e275cc858e30cacea341509d19b'
+md5sums=('SKIP'
          '3d99862438ec7977ff8d7f4e3e5dd300'
          'abac213cf24e9d5cab4e8115441eb717')
 
+build() {
+  cd "$srcdir/netbsd-wtf"
+  make PREFIX='/usr'
+}
+
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/netbsd-wtf"
+  make install PREFIX='/usr' DESTDIR="$pkgdir"
 
-  install -Dm644 $pkgname.6 "$pkgdir/usr/share/man/man6/$pkgname.6"
-  install -Dm755 $pkgname   "$pkgdir/usr/bin/$pkgname"
-  install -d "$pkgdir/usr/share/misc/"
-  install -m644 acronyms acronyms.comp ../acronyms.computing "$pkgdir/usr/share/misc/"
+  install -m644 ../acronyms.computing "$pkgdir/usr/share/wtf/"
   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list