summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio CalĂș2020-06-15 14:59:27 -0300
committerJunio CalĂș2020-06-15 14:59:27 -0300
commit9620d042547e9ded1656becfbee229a01f408fa1 (patch)
treee9cf2ce2db1876f8bc0d35b85a9e22e929d93d7c
parent025dbbf914f7961258250d831bf470b6177be509 (diff)
downloadaur-9620d042547e9ded1656becfbee229a01f408fa1.tar.gz
changes
-rwxr-xr-xPKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f2495a827aa..de5c8de7e11 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=dde-top-panel
pkgver=0.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="dde top panel for Deepin V20"
arch=('x86_64')
url="https://github.com/SeptemberHX/dde-top-panel"
@@ -11,8 +11,10 @@ depends=('deepin-network-utils' 'deepin-qt5integration' 'deepin-qt-dbus-factory'
'procps-ng')
makedepends=('cmake' 'qt5-tools' 'xdotool')
install="${pkgname}.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/SeptemberHX/dde-top-panel/archive/$pkgver.tar.gz")
-sha512sums=('fffeab4e7bb0af52f712889cf762cdde9cb24140cac89cf263b19087fce74fd1fdf0fff01b93802300f296c0b0fc49b3aadd8540182252795c2d21e6f5242972')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/SeptemberHX/dde-top-panel/archive/$pkgver.tar.gz"
+ "${pkgname}.desktop")
+sha512sums=('fffeab4e7bb0af52f712889cf762cdde9cb24140cac89cf263b19087fce74fd1fdf0fff01b93802300f296c0b0fc49b3aadd8540182252795c2d21e6f5242972'
+ '8f6aed15b7ef9c9480e43a1cc12c0fe9fa490aea531ca158fb73232ca88cb263325ef46c53cdc9329fba0ec7e498ac4e06ec01590e00f6033dd8387bb68f2442')
build() {
cd $pkgname-$pkgver
@@ -26,6 +28,9 @@ build() {
package() {
cd $pkgname-$pkgver
+ install -d "${pkgdir}/usr/lib/dde-top-panel/plugins/"
+ ln -s /usr/lib/dde-dock/plugins/* "${pkgdir}/usr/lib/dde-top-panel/plugins/"
install -Dm 755 "frame/dde-top-panel" "${pkgdir}/usr/bin/dde-top-panel"
+ install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm 644 "schemas/com.deepin.dde.toppanel.gschema.xml" "${pkgdir}/usr/share/glib-2.0/schemas/com.deepin.dde.toppanel.gschema.xml"
}