summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd910a21cf6..0d459c98a0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = media-downloader-git
pkgdesc = GUI front-end for downloading media files (youtube-dl, ...)
- pkgver = 1.0.0.r57.ge3b332a
+ pkgver = 1.0.0.r61.gdbc8459
pkgrel = 1
url = https://github.com/mhogomchungu/media-downloader
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2af92204572..6be229998a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: willemw <willemw12@gmail.com>
pkgname=media-downloader-git
-pkgver=1.0.0.r57.ge3b332a
+pkgver=1.0.0.r61.gdbc8459
pkgrel=1
pkgdesc="GUI front-end for downloading media files (youtube-dl, ...)"
arch=('x86_64')
@@ -20,10 +20,14 @@ pkgver() {
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-build() {
+prepare() {
cd $pkgname
+ rm -rf build
mkdir build
- cd build
+}
+
+build() {
+ cd $pkgname/build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..
make
}