summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5245325f249bfefec7ec8c7f6476bbfca73ed0f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: grimi

pkgname=undms
pkgver=1.3
pkgrel=2
pkgdesc="Decompress Amiga DMS disk images to ADF"
arch=('i686' 'x86_64')
url="https://aminet.net/package/misc/unix/undms-1.3.c"
license=('freedist')
makedepends=('p7zip')
source=("https://aminet.net/misc/unix/${pkgname}-${pkgver}.c.Z")
sha256sums=('d5c5396d1003f4d4125b4fe4833043e207b7315e87db3be92c2188ffbe27e8ac')

build() {
  7z x ${pkgname}-${pkgver}.c.Z
  gcc ${CFLAGS} ${LDFLAGS} ${pkgname}-${pkgver}.c -o${pkgname}
}

package() {
  install -Dm755 ${pkgname} "${pkgdir}"/usr/bin/${pkgname}
}

# vim:set ts=2 sw=2 et: