summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93fbc31ac28
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = squaw
+ pkgdesc = Simplistic Qt-based user agent for the Web
+ pkgver = 2.6
+ pkgrel = 2
+ url = http://fenua.org/gaetan/src/
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = ISC
+ depends = qt5-webkit
+ source = http://fenua.org/gaetan/src//squaw-2.6.cpp
+ sha1sums = b5ebdffe66f671ebd1895913a07fe469d8b719df
+
+pkgname = squaw
+
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"
+}