summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c6daf093ca04ba682502cf7ee6eefec8f6462cd (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
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/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('f2a347448324a027edf02cf80dee695394bfcb73298203fd355f0e33e014989b')

package() {

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

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