summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2020-09-08 20:28:29 +0200
committerhaawda2020-09-08 20:28:29 +0200
commit2563b2ccd165611fc347ae289a9189d5db9db746 (patch)
treecd5792e4aca83bfd327730b3e64d66e404975c27
parentdcd235157b0407447aa55103e05b17593a37fdb2 (diff)
downloadaur-2563b2ccd165611fc347ae289a9189d5db9db746.tar.gz
fix package function
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2bfc0c39251..26f59096f59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wp2latex
pkgdesc = Converts WordPerfect document formats to LaTeX
pkgver = 3.91
- pkgrel = 1
+ pkgrel = 2
url = http://www.penguin.cz/~fojtik/wp2latex/wp2latex.htm
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 0481190bd00..5a1e59ebc15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wp2latex
pkgver=3.91
-pkgrel=1
+pkgrel=2
pkgdesc="Converts WordPerfect document formats to LaTeX"
url="http://www.penguin.cz/~fojtik/$pkgname/$pkgname.htm"
arch=('i686' 'x86_64')
@@ -21,20 +21,20 @@ build() {
package() {
cd $pkgname-$pkgver
- install -Dm755 "${srcdir}"/$pkgname/trunk/bin/linux/$pkgname \
+ install -Dm755 "${srcdir}"/$pkgname-$pkgver/bin/linux/$pkgname \
$pkgdir/usr/bin/$pkgname
for _i in cs de
do
install -Dm644 \
- "$srcdir"/$pkgname/trunk/doc/locale/${_i}/lc_messages/$pkgname.mo \
+ "$srcdir"/$pkgname-$pkgver/doc/locale/${_i}/lc_messages/$pkgname.mo \
"$pkgdir"/usr/share/locale/${_i}/LC_MESSAGES/$pkgname.mo
done
- install -Dm644 "$srcdir"/$pkgname/trunk/doc/$pkgname.1 \
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/doc/$pkgname.1 \
"$pkgdir"/usr/share/man/man1/$pkgname.1
install -d "$pkgdir"/usr/share/$pkgname/doc
- cp -R "$srcdir"/$pkgname/trunk/doc/program.man/* \
+ cp -R "$srcdir"/$pkgname-$pkgver/doc/program.man/* \
"$pkgdir"/usr/share/$pkgname/doc
install -d "$pkgdir"/usr/share/texmf/tex/latex/$pkgname
- cp "$srcdir"/$pkgname/trunk/styles.tex/* \
+ cp "$srcdir"/$pkgname-$pkgver/styles.tex/* \
"$pkgdir"/usr/share/texmf/tex/latex/$pkgname
}