summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio Calú2020-06-15 13:30:21 -0300
committerJunio Calú2020-06-15 13:30:21 -0300
commit025dbbf914f7961258250d831bf470b6177be509 (patch)
treec81f37e644cb43178757e874a02903df879c95e4
downloadaur-025dbbf914f7961258250d831bf470b6177be509.tar.gz
starting
-rw-r--r--.SRCINFO21
-rwxr-xr-xPKGBUILD31
-rw-r--r--dde-top-panel.install7
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62a1de322d9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = dde-top-panel
+ pkgdesc = dde top panel for Deepin V20
+ pkgver = 0.4.1
+ pkgrel = 0
+ url = https://github.com/SeptemberHX/dde-top-panel
+ install = dde-top-panel.install
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = qt5-tools
+ makedepends = xdotool
+ depends = deepin-network-utils
+ depends = deepin-qt5integration
+ depends = deepin-qt-dbus-factory
+ depends = libdbusmenu-qt5
+ depends = procps-ng
+ source = dde-top-panel-0.4.1.tar.gz::https://github.com/SeptemberHX/dde-top-panel/archive/0.4.1.tar.gz
+ sha512sums = fffeab4e7bb0af52f712889cf762cdde9cb24140cac89cf263b19087fce74fd1fdf0fff01b93802300f296c0b0fc49b3aadd8540182252795c2d21e6f5242972
+
+pkgname = dde-top-panel
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..f2495a827aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Junio Calú <junio.calu@gmail.com>
+
+pkgname=dde-top-panel
+pkgver=0.4.1
+pkgrel=0
+pkgdesc="dde top panel for Deepin V20"
+arch=('x86_64')
+url="https://github.com/SeptemberHX/dde-top-panel"
+license=('GPL')
+depends=('deepin-network-utils' 'deepin-qt5integration' 'deepin-qt-dbus-factory' 'libdbusmenu-qt5'
+ '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')
+
+build() {
+ cd $pkgname-$pkgver
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DVERSION=${pkgver}
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm 755 "frame/dde-top-panel" "${pkgdir}/usr/bin/dde-top-panel"
+ install -Dm 644 "schemas/com.deepin.dde.toppanel.gschema.xml" "${pkgdir}/usr/share/glib-2.0/schemas/com.deepin.dde.toppanel.gschema.xml"
+}
diff --git a/dde-top-panel.install b/dde-top-panel.install
new file mode 100644
index 00000000000..714055e0e06
--- /dev/null
+++ b/dde-top-panel.install
@@ -0,0 +1,7 @@
+post_install() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file