summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD36
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0440f9acaa7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = deepin-dock-git
+ pkgdesc = Deepin desktop-environment - dock module
+ pkgver = 5.3.0.3.r0.g0fb8fbc5
+ pkgrel = 1
+ url = https://github.com/linuxdeepin/dde-dock
+ arch = x86_64
+ groups = deepin
+ license = GPL3
+ makedepends = git
+ makedepends = cmake
+ makedepends = ninja
+ makedepends = qt5-tools
+ depends = qt5-svg
+ depends = deepin-menu
+ depends = deepin-daemon
+ depends = deepin-launcher
+ depends = deepin-qt5integration
+ depends = deepin-qt-dbus-factory
+ depends = deepin-network-utils
+ depends = libdbusmenu-qt5
+ provides = deepin-dock
+ conflicts = deepin-dock
+ replaces = deepin-dock
+ source = git://github.com/linuxdeepin/dde-dock.git
+ sha512sums = SKIP
+
+pkgname = deepin-dock-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bcee65ec924
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: DingYuan Zhang <justforlxz@gmail.com>
+# Contributor: DingYuan Zhang <justforlxz@gmail.com>
+
+pkgname=deepin-dock-git
+pkgver=5.3.0.3.r0.g0fb8fbc5
+_commit=0fb8fbc5390b6bb518bbb92abebe8c4152c87697
+pkgrel=1
+pkgdesc='Deepin desktop-environment - dock module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-dock"
+license=('GPL3')
+depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 'deepin-qt5integration'
+ 'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
+makedepends=('git' 'cmake' 'ninja' 'qt5-tools')
+conflicts=('deepin-dock')
+replaces=('deepin-dock')
+provides=('deepin-dock')
+groups=('deepin')
+source=("git://github.com/linuxdeepin/dde-dock.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd dde-dock
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd dde-dock
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
+ ninja
+}
+
+package() {
+ cd dde-dock
+ DESTDIR="$pkgdir" ninja install
+}