aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-12 13:07:46 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-03-12 14:40:49 +1300
commit71a1fe104433ac7abf16a3d8a4e97006b9f56b7d (patch)
tree425d72702d35c6f1b7c2c0c09e4e68f47d26c1ca /office
parent14520228b203b1f8df8c6cbaaaa7147571392501 (diff)
office/JabRef: Align to template.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'office')
-rw-r--r--office/JabRef/JabRef.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild
index 978394b3ee214..8759e2721df78 100644
--- a/office/JabRef/JabRef.SlackBuild
+++ b/office/JabRef/JabRef.SlackBuild
@@ -74,8 +74,10 @@ install -D -m 0644 opt/${PRGNAM,,}/lib/${PRGNAM,,}-$PRGNAM.desktop -t "$PKG"/usr
install -D -m 0644 opt/${PRGNAM,,}/lib/$PRGNAM.png -t "$PKG"/usr/share/pixmaps
# docs
install -D -m 0644 opt/${PRGNAM,,}/share/doc/* "$CWD"/$PRGNAM.SlackBuild -t "$PKG"/usr/doc/$PRGNAM-"$VERSION"
-# package files
-install -D -m 0644 "$CWD"/slack-desc "$CWD"/doinst.sh -t "$PKG"/install
-cd "$PKG"
-/sbin/makepkg -l y -c n "$OUTPUT"/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE