From a15618ff6b29a9c52c08b42cb6438bd664d2087b Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Jan 2018 12:39:31 +0100 Subject: Added comments to PKGBUILD --- data/bookmarks.xbel | 13 ------------- linux/makepkg/PKGBUILD | 22 +++++++++++++++------- 2 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 data/bookmarks.xbel 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 @@ - - - - - smolbote - - Repository - - - Qt Documentation - - - 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 } -- cgit v1.2.1