aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/bookmarks.xbel13
-rw-r--r--linux/makepkg/PKGBUILD22
2 files changed, 15 insertions, 20 deletions
diff --git a/data/bookmarks.xbel b/data/bookmarks.xbel
deleted file mode 100644
index 985b13c..0000000
--- a/data/bookmarks.xbel
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE xbel>
-<xbel version="1.0">
- <folder folded="no">
- <title>smolbote</title>
- <bookmark href="https://neueland.iserlohn-fortress.net/smolbote">
- <title>Repository</title>
- </bookmark>
- <bookmark href="https://doc.qt.io/">
- <title>Qt Documentation</title>
- </bookmark>
- </folder>
-</xbel>
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index 95a0a54..d3a77c2 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -36,30 +36,38 @@ build() {
cd "$pkgname-$pkgver"
# CMake Options
- # build type
+ # Build Type
+ # Debug builds don't have install rules.
_cmake_options="-DCMAKE_BUILD_TYPE=Release"
- # install prefix, or where should the binary be installed
+ # Install Prefix
+ # Where should the binary be installed? In this case /usr/local.
_cmake_options="$_cmake_options -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/local"
- # compiler
+ # Compiler
+ # Flavour: no need to change the compiler, gcc works just fine
_cmake_options="$_cmake_options -DCMAKE_C_COMPILER=/usr/bin/clang"
_cmake_options="$_cmake_options -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
- # use libc++ instead of libstdc++
+ # Use libc++ instead of libstdc++
+ # Flavour, also requires clang
#_cmake_options="$_cmake_options -DUseLibCpp=On"
- # build system
+ # Build System
+ # Flavour: I use ninja, but you can comment this out, or set your own
+ # flavour. Don't forget to change the Build and Install though!
_cmake_options="$_cmake_options -GNinja"
- # Generate a makefile
+ # Generate Makefile
cmake $_cmake_options "$srcdir/smolbote-hg"
- # build
+ # Build
ninja
}
package() {
cd "$pkgname-$pkgver"
+
+ # Install
ninja install
}