Skip to content

Instantly share code, notes, and snippets.

@zman0900
Created December 31, 2018 02:42
Show Gist options
  • Save zman0900/a7fdc40e088b169292aae4a5767af7db to your computer and use it in GitHub Desktop.
Save zman0900/a7fdc40e088b169292aae4a5767af7db to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 5243ecf..4b3b941 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,6 +29,7 @@ package_transgui-qt() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ make clean
lazbuild "${pkgbase}.lpi" \
--lazarusdir="/usr/lib/lazarus" \
--widgetset="qt" \
@@ -52,9 +53,10 @@ package_transgui-gtk() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ make clean
lazbuild "${pkgbase}.lpi" \
--lazarusdir="/usr/lib/lazarus" \
- --widgetset="gtk" \
+ --widgetset="gtk2" \
--primary-config-path=../build-gtk
install -Dm755 "units/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment