summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD24
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..8138126514cf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = deepin-dreamscene
+ pkgdesc = This is video wallpaper for Deepin.
+ pkgver = 0.2.3
+ pkgrel = 1
+ url = https://github.com/kirigayakazushin/deepin-dreamscene
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = qt5-tools
+ depends = xcb-util
+ depends = xcb-util-wm
+ depends = qt5-base
+ depends = mpv
+ source = deepin-dreamscene-0.2.3.tar.gz::https://github.com/kirigayakazushin/deepin-dreamscene/archive/0.2.3.tar.gz
+ md5sums = SKIP
+
+pkgname = deepin-dreamscene
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..c78d3ceeb1d9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: lxz <lxz@ilxz.me>
+pkgname=deepin-dreamscene
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="This is video wallpaper for Deepin."
+arch=('i686' 'x86_64')
+url="https://github.com/kirigayakazushin/deepin-dreamscene"
+license=('GPL')
+groups=()
+depends=('xcb-util' 'xcb-util-wm' 'qt5-base' 'mpv')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kirigayakazushin/deepin-dreamscene/archive/$pkgver.tar.gz")
+md5sums=('SKIP') #autofill using updpkgsums
+
+build() {
+ cd "$pkgname-$pkgver"
+ qmake QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
+ make -j4
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make INSTALL_ROOT="${pkgdir}" install
+}