diff options
author | nfnty | 2018-07-28 10:21:07 +0100 |
---|---|---|
committer | nfnty | 2018-07-28 10:21:07 +0100 |
commit | 3608a939000f4745a616232d901c99aaba91ed14 (patch) | |
tree | 423e07acb97d62eaa65605794117113b2a9eafff /PKGBUILD | |
parent | b4ad226138240e8fc74c28b9f5452e7f5c640615 (diff) | |
download | aur-3608a939000f4745a616232d901c99aaba91ed14.tar.gz |
Use builtin `.desktop` file and define `SHOTCUT_VERSION`
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgname=('shotcut-git') _srcname='shotcut' pkgdesc='Video editor' -pkgver='r2679' +pkgver='r2701' pkgrel='1' arch=('i686' 'x86_64') url='https://github.com/mltframework/shotcut' @@ -32,13 +32,11 @@ conflicts=("${pkgname[0]%-git}") source=( "${_srcname}::git+${url}.git" - 'shotcut.desktop' 'melt.patch' ) sha512sums=( 'SKIP' 'SKIP' - 'SKIP' ) pkgver() { @@ -61,7 +59,8 @@ build() { qmake PREFIX='/usr' \ QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ - QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" + QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ + SHOTCUT_VERSION="${pkgver}" make } @@ -69,6 +68,4 @@ package() { cd "${srcdir}/${_srcname}" make INSTALL_ROOT="${pkgdir}" install - - install -D --mode=644 "${srcdir}/shotcut.desktop" "${pkgdir}/usr/share/applications/shotcut.desktop" } |