blob: d9161d24b55de4c3bec34400a9c00737374ba69d (
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
|
# Maintainer: leotheleon <71839579+leo-the-leon@users.noreply.github.com>
pkgname=mkpsxiso126
pkgver=1.26
pkgrel=1
pkgdesc="Faster, cross-platform, modern BUILDCD replacement (legacy version)"
arch=('i686' 'x86_64')
url="https://github.com/Lameguy64/mkpsxiso"
license=('GPL2')
depends=('tinyxml2')
makedepends=('cmake')
provides=('mkpsxiso')
source=('https://github.com/Lameguy64/mkpsxiso/archive/refs/tags/v1.26.tar.gz'
'mkisoxml-posix.patch')
cksums=('2302826856'
'3243613121')
prepare() {
patch "$srcdir/mkpsxiso-1.26/mkisoxml/src/main.cpp" mkisoxml-posix.patch
}
build() {
cd "$srcdir/mkpsxiso-1.26"
cmake .
make
cd mkisoxml
cmake .
make
}
package() {
install -Dm755 "$srcdir/mkpsxiso-1.26/bin_nix/mkpsxiso" "$pkgdir/usr/bin/mkpsxiso126"
install -Dm755 "$srcdir/mkpsxiso-1.26/mkisoxml/bin_nix/mkisoxml" "$pkgdir/usr/bin/mkisoxml"
install -Dm644 "$srcdir/mkpsxiso-1.26/README.md" "$pkgdir/usr/share/doc/mkpsxiso-1.26/README.md"
install -Dm644 "$srcdir/mkpsxiso-1.26/LICENSE.md" "$pkgdir/usr/share/doc/mkpsxiso-1.26/LICENSE.md"
install -Dm644 "$srcdir/mkpsxiso-1.26/examples/example.xml" "$pkgdir/usr/share/doc/mkpsxiso-1.26/example.xml"
}
|