summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGaetan Bisson2015-06-08 11:30:17 -1000
committerGaetan Bisson2015-06-08 11:30:17 -1000
commit3deffc029487920b65760a4d0259edd4e2a88f12 (patch)
tree8086c4a2b4c4c501786f47471340010277747ab7 /PKGBUILD
downloadaur-3deffc029487920b65760a4d0259edd4e2a88f12.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..824b5a9b9ea
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=squaw
+pkgver=2.6
+pkgrel=2
+pkgdesc='Simplistic Qt-based user agent for the Web'
+url='http://fenua.org/gaetan/src/'
+license=('ISC')
+depends=('qt5-webkit')
+arch=('i686' 'x86_64' 'armv7h')
+source=("${url}/${pkgname}-${pkgver}.cpp")
+sha1sums=('b5ebdffe66f671ebd1895913a07fe469d8b719df')
+
+build() {
+ cd "${srcdir}"
+ moc-qt5 -o squaw.moc squaw-${pkgver}.cpp
+ c++ -lQt5WebKitWidgets -lQt5PrintSupport -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Core \
+ -I/usr/include/qt -fPIC \
+ ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} \
+ -o ${pkgname} ${pkgname}-${pkgver}.cpp
+}
+
+package() {
+ cd "${srcdir}"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ head -n 15 "${pkgname}-${pkgver}.cpp" > "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}