[arch-commits] Commit in indicator-china-weather/repos (2 files)

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


    Date: Friday, June 19, 2020 @ 08:12:10
  Author: felixonmars
Revision: 647616

archrelease: copy trunk to community-x86_64

Added:
  indicator-china-weather/repos/community-x86_64/
  indicator-china-weather/repos/community-x86_64/PKGBUILD
    (from rev 647615, indicator-china-weather/trunk/PKGBUILD)

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

Copied: indicator-china-weather/repos/community-x86_64/PKGBUILD (from rev 647615, indicator-china-weather/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-06-19 08:12:10 UTC (rev 647616)
@@ -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
+}



More information about the arch-commits mailing list