From ccbc06f6041a2688019b5d8a15e7187a4911ee89 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Oct 2018 15:44:05 +0200 Subject: Add cmake manpage target --- linux/.config | 2 ++ linux/makepkg/PKGBUILD | 13 +------------ 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'linux') 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 } -- cgit v1.2.1