summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..19a312b4970
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: justforlxz <justforlxz@gmail.com>
+
+pkgname=disomaster-git
+pkgver=5.0.7.r1.gb65d359
+pkgrel=1
+pkgdesc='Library to manipulate DISC burning.'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/disomaster"
+license=('GPL3')
+depends=()
+makedepends=('git' 'qt5-tools')
+groups=('deepin-git')
+provides=('disomaster')
+conflicts=('disomaster')
+source=("$pkgname::git://github.com/linuxdeepin/disomaster")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd ${pkgname}
+}
+
+build() {
+ cd ${pkgname}
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}
+ make INSTALL_ROOT="$pkgdir" install
+}