summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRené Wagner2020-05-23 20:31:17 +0200
committerRené Wagner2020-05-23 20:31:17 +0200
commit018d26d9bf6dd35f4d4d64ac569720656ccfad3b (patch)
tree70565ade35386d898bdc426227137722b77dc4ce
parent23b3cf8464fe690679b024392f0e6bff168bb1c0 (diff)
downloadaur-018d26d9bf6dd35f4d4d64ac569720656ccfad3b.tar.gz
add cmakelists.patch
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3f5e56d4e6e..28f419766d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@ license=('GPL3')
depends=('gperftools' 'lensfun' 'exiv2' 'fftw' 'gtk3' 'glibmm' 'gtkmm3' 'lcms2' 'libcanberra' 'libiptcdata' 'desktop-file-utils')
makedepends=('pkgconf' 'cmake' 'git' 'gcc' 'hicolor-icon-theme' 'fakeroot')
conflicts=('art-rawconverter-git')
-source=("${pkgname}_${pkgver}::git+https://bitbucket.org/agriggio/art.git#tag=${pkgver}" "bft_20.zip::https://discuss.pixls.us/uploads/short-url/fG7iCaIWBWBem30O67V15EfO521.zip")
-sha256sums=('SKIP' '7381c57e48b1437bec6b775029370f99f6fc14eced53678972e9f0b7e02a4346')
+source=("${pkgname}_${pkgver}::git+https://bitbucket.org/agriggio/art.git#tag=${pkgver}" "bft_20.zip::https://discuss.pixls.us/uploads/short-url/fG7iCaIWBWBem30O67V15EfO521.zip" "cmakelists.patch")
+sha256sums=('SKIP' '7381c57e48b1437bec6b775029370f99f6fc14eced53678972e9f0b7e02a4346' 'ae3646842985338b700b68987879c3eb8d4483c895e58134bf512fe3df33c39b')
build() {
cp "$srcdir/blackfoxx-GTK3-20_.css" "$srcdir/${pkgname}_${pkgver}/rtdata/themes"
@@ -30,6 +30,11 @@ build() {
make -j${NPROC}
}
+prepare() {
+ cd "$srcdir/${pkgname}_src"
+ patch --forward --strip=1 --input="${srcdir}/cmakelists.patch"
+}
+
package() {
cd "$srcdir/${pkgname}_${pkgver}_build"
make DESTDIR="$pkgdir/" install