aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/.config2
-rw-r--r--linux/makepkg/PKGBUILD13
2 files changed, 3 insertions, 12 deletions
diff --git a/linux/.config b/linux/.config
index e04f44a..8eeef64 100644
--- a/linux/.config
+++ b/linux/.config
@@ -10,6 +10,8 @@
CONFIG_INSTALL_BINDIR="bin"
CONFIG_INSTALL_LIBDIR="lib64/smolbote"
CONFIG_INSTALL_PLUGINDIR="lib64/smolbote/plugins"
+CONFIG_INSTALL_APPDIR="share/applications"
+CONFIG_INSTALL_ICONDIR="share/icons"
#
# Application Settings
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index c327b47..005f46a 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -66,22 +66,11 @@ build() {
# Build
make
+ make manpage
}
package() {
# Install
DESTDIR="$pkgdir" make install
-
- msg2 "Installing icon and .desktop"
- install -Dm644 $srcdir/smolbote/data/poi.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/poi.svg
- install -Dm644 $srcdir/smolbote/linux/poi.desktop $pkgdir/usr/share/applications/poi.desktop
-
- msg2 "Installing firejail profile"
- install -Dm644 $srcdir/smolbote/data/poi.profile $pkgdir/usr/local/lib/smolbote/poi.profile
-
- msg2 "Installing manpage"
- asciidoctor --backend=manpage $srcdir/smolbote/doc/smolbote.7.asciidoc
- gzip $srcdir/smolbote/doc/smolbote.7
- install -Dm644 $srcdir/smolbote/doc/smolbote.7.gz $pkgdir/usr/local/man/man7/smolbote.7.gz
}