blob: 5e24108efb2d137d18d0c118c6c5b131949c3fac (
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
33
34
35
36
37
38
39
40
41
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=psvimgtools-git
pkgver=0.1.3.gf446c56
pkgrel=1
arch=('x86_64')
pkgdesc="Decrypt Vita CMA backups. (GIT version)"
url='https://github.com/yifanlu/psvimgtools'
license=('MIT')
depends=(
'glibc' # libc.so
'libgcrypt' # libgcrypt.so
'zlib' 'libz.so'
)
makedepends=(
'git'
'cmake'
)
conflicts=('psvimgtools')
provides=('psvimgtools')
source=('git+https://github.com/yifanlu/psvimgtools.git')
sha256sums=('SKIP')
options=('debug')
pkgver() {
cd psvimgtools
echo "$(git describe --long --tags | tr - . | tr -d v)"
}
build() {
cmake -S psvimgtools -B build \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 psvimgtools/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|