[arch-commits] Commit in ukui-indicators/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jan 31 13:59:55 UTC 2020
Date: Friday, January 31, 2020 @ 13:59:55
Author: felixonmars
Revision: 560752
archrelease: copy trunk to community-x86_64
Added:
ukui-indicators/repos/community-x86_64/
ukui-indicators/repos/community-x86_64/PKGBUILD
(from rev 560751, ukui-indicators/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: ukui-indicators/repos/community-x86_64/PKGBUILD (from rev 560751, ukui-indicators/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-01-31 13:59:55 UTC (rev 560752)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ukui-indicators
+pkgver=1.1.8
+pkgrel=1
+pkgdesc="A small applet to display information from various applications consistently in UKUI panel"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/ukui/ukui-indicators"
+groups=('ukui')
+depends=('python' 'ukui-panel' 'webkit2gtk')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-indicators/archive/v$pkgver.tar.gz")
+sha512sums=('c7b12660b682af0b06907c68dc4daf5e6a3d082c8f76d60c76512cfeb5527e9e8ed50881d5a363013ded0470e74cddd965cd87424a916806f43cfcc2757cc940')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ cd ../$pkgname-$pkgver
+ install -Dm755 diskstatusicon/diskstatusicon -t "$pkgdir"/usr/bin/
+ install -Dm644 data/diskstatusicon.desktop -t "$pkgdir"/etc/xdg/autostart/
+ install -Dm644 man/diskstatusicon.1 -t "$pkgdir"/usr/share/man/man1/
+}
More information about the arch-commits
mailing list