summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 813e7b2cc308bf65f0a83f82ea0e27561029ed01 (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
# Maintainer: David Maseda <david.maseda@hotmail.com>
pkgname=zxtext2p
pkgver=V1.0
pkgrel=1
pkgdesc="Command line utility that takes a BASIC source file and turns it into .P for ZX81"
arch=(x86_64)
url="http://freestuff.grok.co.uk/zxtext2p/index.html"
license=('GPL')
groups=()
depends=(glibc)
makedepends=(gcc)
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($pkgname-$pkgver.zip::http://freestuff.grok.co.uk/zxtext2p/$pkgname.zip)
noextract=()
md5sums=() #autofill using updpkgsums

#prepare() {
#  unzip $pkgname-$pkgver.zip -d "$pkgname-$pkgver"
#}
build() {
  gcc -lm  -Wl,-z,relro,-z,now $pkgname.c -o $pkgname
}

package() {
  mkdir -p $pkgdir/usr/bin
  cp $pkgname $pkgdir/usr/bin
}
sha256sums=('ce9ce3c3d4d7992de7db7a12dd5fc7d322637cbaabd2b1c360aca4c743886dd4')