diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -3,7 +3,7 @@ pkgname=filmulator _pkgname="$pkgname-gui" pkgver=0.11.1 -pkgrel=1 +pkgrel=2 arch=('i686' 'pentium4' 'x86_64') pkgdesc="Simple raw photo editor based on the process of developing film" url="https://filmulator.org/" @@ -11,6 +11,7 @@ _url="https://github.com/CarVac/filmulator-gui" license=('GPL3') depends=('exiv2' 'hicolor-icon-theme' 'lensfun-git' 'libarchive' 'libraw' 'librtprocess' 'qt5-quickcontrols2') makedepends=('cmake' 'openmp') +options=('!buildflags') source=("$_pkgname-$pkgver.tar.gz::$_url/archive/v$pkgver.tar.gz") sha512sums=('27026fac7c61691e48f589febedb9335fb841280c811d47e866128515a121fbc5a6784983057ce00a3b946d5355e11d146fee9c1d4d0f10c18be49cb288a4e97') _xdg_desktop_name="org.$pkgname.${pkgname^}" @@ -23,11 +24,8 @@ prepare() { mkdir build - sed -i "s|Exec.*$|Exec=/usr/bin/$pkgname|" \ - $_pkgname-$pkgver/$_pkgname/filmulator-gui.desktop.in - - sed -i "s|Icon=$_pkgname|Icon=$_xdg_desktop_name|" \ - $_pkgname-$pkgver/$_pkgname/filmulator-gui.desktop.in + sed -i "/Exec=/ s|=.*|=/usr/bin/$pkgname| ; /Icon=/ s|=.*|=$_xdg_desktop_name|" \ + $_pkgname-$pkgver/$_pkgname/$_pkgname.desktop.in } build() { |