git » txt2man.git » commit 38a8fdc

upd

author Sergej Pupykin
2017-03-14 11:43:37 UTC
committer Sergej Pupykin
2017-03-14 11:43:37 UTC
parent 7bb3d5affa1cefe4f393c7525ac34306ca03f6df

upd

PKGBUILD +6 -8

diff --git a/PKGBUILD b/PKGBUILD
index a0aa316..17004f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,17 @@
 # Contributor: Roberto Alsina <ralsina@kde.org>
 
 pkgname=txt2man
-pkgver=1.5.6
-pkgrel=4
+pkgver=1.6.0
+pkgrel=1
 pkgdesc="Converts flat ASCII text to man page format"
 arch=('any')
-url="http://mvertes.free.fr/"
+url="https://github.com/mvertes/txt2man"
 license=('GPL')
 depends=( 'bash' 'gawk')
-source=(http://mvertes.free.fr/download/txt2man-$pkgver.tar.gz)
-md5sums=('f301b3dc1872fab1b7740f9f69ff281b')
+source=("https://github.com/mvertes/txt2man/archive/txt2man-$pkgver.tar.gz")
+sha256sums=('f6939e333a12e1ecceccaa547b58f4bf901a580cd2d8f822f8c292934c920c99')
 
 package() {
-  cd "$srcdir"/txt2man-$pkgver
+  cd "$srcdir"/txt2man-txt2man-$pkgver
   PATH=./:$PATH make prefix="$pkgdir"/usr install
-  mkdir -p "$pkgdir"/usr/share/man/
-  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
 }