blob: 08b1a5ae700aebda6feb278d68f604e8678a4484 (
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
|
pkgname=psp-bzip2
pkgver=1.0.6
pkgrel=1
pkgdesc="A high-quality data compression program (psp)"
arch=(any)
url="https://sources.redhat.com/bzip2"
license=('custom')
groups=('psp')
depends=('psp-sdk')
makedepends=('psp-gcc')
options=('!buildflags' '!strip' 'staticlibs')
source=("http://www.bzip.org/${pkgver}/bzip2-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/pspdev/psplibraries/master/patches/bzip2-${pkgver}-PSP.patch")
md5sums=('00b516f4704d4a7cb50a1d97e6e8e15b'
'SKIP')
prepare() {
cd "$srcdir/bzip2-${pkgver}"
rm -f README.PSP
patch -p1 -i "${srcdir}"/bzip2-${pkgver}-PSP.patch
}
build()
{
cd "$srcdir/bzip2-${pkgver}"
make
}
package()
{
cd "$srcdir/bzip2-${pkgver}"
make install PREFIX="$pkgdir"/usr/psp
}
|