summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Otnes Kolstad2020-01-28 19:35:01 +0100
committerStig Otnes Kolstad2020-01-28 19:48:50 +0100
commitcc2c97defb89e1d95bc8788cedb2b94c90f7acb5 (patch)
tree548989c161a6a36875d3e04ee98a9e791b1ade5d
parentc2c19e3fc0b98c88cb0c359b266b1af90a887166 (diff)
downloadaur-cc2c97defb89e1d95bc8788cedb2b94c90f7acb5.tar.gz
Fix man building and paths
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6befeff4d90..47355b90969 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ md5sums=('SKIP')
build() {
cd "$pkgrelname" || exit 1
- cargo build -p ripasso-cursive -p ripasso-man --release
+ cargo build -p ripasso-cursive --release
}
pkgver() {
@@ -25,12 +25,10 @@ pkgver() {
package() {
cd "$pkgrelname" || exit 1
- $srcdir/$pkgrelname/target/release/ripasso-man > $srcdir/$pkgrelname/ripasso-cursive.1
- rm -f $srcdir/$pkgrelname/ripasso-cursive.1.gz
- gzip $srcdir/$pkgrelname/ripasso-cursive.1
+ gzip -fk $srcdir/$pkgrelname/target/man-page/cursive/ripasso-cursive.1
mkdir -p "$pkgdir/usr/share/man/man1/"
mkdir -p "$pkgdir/usr/share/ripasso/"
- install -Dm0644 "$srcdir/$pkgrelname/ripasso-cursive.1.gz" "$pkgdir/usr/share/man/man1/"
+ install -Dm0644 "$srcdir/$pkgrelname/target/man-page/cursive/ripasso-cursive.1.gz" "$pkgdir/usr/share/man/man1/"
install -Dm0555 "$srcdir/$pkgrelname/target/release/ripasso-cursive" "$pkgdir/usr/bin/$pkgrelname-cursive"
install -Dm0644 "$srcdir/$pkgrelname/target/translations/cursive/fr.mo" "$pkgdir/usr/share/ripasso/"