Created
December 31, 2018 02:42
-
-
Save zman0900/a7fdc40e088b169292aae4a5767af7db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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