[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Jun 19 08:11:45 UTC 2020


    Date: Friday, June 19, 2020 @ 08:11:43
  Author: felixonmars
Revision: 647614

addpkg: indicator-china-weather 3.0.4-1

Added:
  indicator-china-weather/
  indicator-china-weather/repos/
  indicator-china-weather/trunk/
  indicator-china-weather/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: indicator-china-weather/trunk/PKGBUILD
===================================================================
--- indicator-china-weather/trunk/PKGBUILD	                        (rev 0)
+++ indicator-china-weather/trunk/PKGBUILD	2020-06-19 08:11:43 UTC (rev 647614)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=indicator-china-weather
+pkgver=3.0.4
+pkgrel=1
+pkgdesc="Indicator that displays China weather information"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/UbuntuKylin/indicator-china-weather"
+groups=('ukui')
+depends=('geoip' 'qt5-base')
+makedepends=('qt5-tools')
+source=("https://github.com/UbuntuKylin/indicator-china-weather/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('79f3944591e6d1988b745e9567d9a3ef023a53d435b5164376d7295c4419edc75fb62a8c970552ea34fe66d1b13ff263d5948e9a6f418a6d3a596a88f85c4501')
+
+prepare() {
+  cd indicator-china-weather-$pkgver
+  sed -i '/#include <QPainter>/a #include <QPainterPath>' src/{tooltip,cityitemwidget,texttip}.cpp
+  sed -i '/dpkg-buildflags/d' indicator-china-weather.pro
+}
+
+build() {
+  cd indicator-china-weather-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd indicator-china-weather-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


Property changes on: indicator-china-weather/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list