blob: 4457bd782e16e17ce9418d5f28290697bb4de4cf (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Oliver Jaksch <arch-aur@com-in.de>
pkgname=capsimage
pkgver=5.21
pkgrel=2
pkgdesc="Library to access IPF and CTR files"
arch=('x86_64')
url="https://www.kryoflux.com/"
license=('custom:SPS License')
depends=('gcc-libs')
provides=('libcapsimage.so=5-64')
source=("https://www.kryoflux.com/download/spsdeclib_${pkgver}_source.zip")
sha256sums=('fca645c00c2ec3bda2c8ad8dd94be50ed4bc4e0e0e4a35515e9386f758e466be')
build() {
cmake -S SPStudio_Dev -B build -D CMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
#CapsLibAll.h includes CommonTypes.h, but upstream never installs it
install -Dm644 SPStudio_Dev/Core/CommonTypes.h \
"${pkgdir}"/usr/include/CAPSImage/CommonTypes.h
#fix the symlink that errors our in the line above
ln -s libCAPSImage.so "${pkgdir}"/usr/lib/libcapsimage.so
}
|