summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95206909d2b284d47b5a7599d15ed768d1660bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Martins Mozeiko <martins.mozeiko@gmail.com>

pkgname=pkg2zip-fork
pkgver=2.2
pkgrel=1
pkgdesc="This is for lusid1's fork, recomended by NoPayStation. Decrypts PlayStation Vita pkg file and packages to zip archive"
url='https://github.com/lusid1/pkg2zip'
arch=('i686' 'x86_64')
license=('custom:unlicense')
source=("https://github.com/lusid1/pkg2zip/archive/${pkgver}.tar.gz")
sha256sums=('f2a347448324a027edf02cf80dee695394bfcb73298203fd355f0e33e014989b')

package() {

  cd "${srcdir}"/"pkg2zip-${pkgver}"
  make CFLAGS="-DNDEBUG -O2 -Wno-format-truncation"

  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"pkg2zip"/LICENSE
  install -Dm755 pkg2zip "${pkgdir}"/usr/bin/pkg2zip
}