blob: c09cc8988057e1842dd8853e84dda591ad743030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Lukas Spies <lukas_dot_spies_at_web_dot_de>
_pkgname=libqpsd
pkgname=libqpsd-git
pkgver=20220215
pkgrel=1
pkgdesc="PSD & PSB Plugin for Qt/C++ (Qt4/Qt5) "
arch=("x86_64")
url="https://github.com/Code-ReaQtor/libqpsd"
license=("LGPL")
depends=("qt5-base")
# depends=("qt4") # use this depends instead of the above for Qt4 build
makedepends=("git")
source=("git+https://github.com/Code-ReaQtor/libqpsd")
sha256sums=("SKIP")
prepare() {
cd "$srcdir/$_pkgname"
sed -i "s|\$\$\[QT_INSTALL_PLUGINS\]|/usr/lib/qt/plugins|" QPsdPlugin.pro
mkdir -p build
cd build
qmake ..
make
}
package() {
cd "$srcdir/$_pkgname"
cd build
make INSTALL_ROOT="$pkgdir" install
}
|