summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d2e3c88aa6c94b3ba35f12a107a6c11ada8d66a (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
# Maintainer: PBlue3 <pblue3@protonmail.com>

pkgname="popstationr-git"
_pkgname="popstationr"
pkgver=20190708
pkgrel=1
pkgdesc="popstationr is ISO to EBOOT.bin converter to convert PSX ISO images to use with modded PSPs or adrenaline for PS Vita"
arch=('x86_64')
url='https://github.com/pseiler/popstationr.git'
license=('GPL')
depends=('zlib')
makedepends=('git')
source=('git+https://github.com/pseiler/popstationr.git')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git log -1 --format="%at" | xargs -I{} date -d @{} +%Y%m%d
}

build() {
  cd "${srcdir}/${_pkgname}"
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
  install -Dm755 "${srcdir}/${_pkgname}/${pkgname%-git}" "${pkgdir}/usr/bin/${pkgname%-git}"
}