summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87c1fc384ec1876ff59e9e9b1f6ce5b8018f6b8e (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
# Maintainer: Mike Pento <mjpento@gmail.com>
# Contributor: grimi

pkgname=undms
pkgver=1.3
pkgrel=3
pkgdesc="Decompress Amiga DMS disk images to ADF"
arch=('i686' 'x86_64')
url="https://aminet.net/package/misc/unix/undms-1.3.c"
license=('GPL-3.0-or-later')
options+=(!debug)
depends=('glibc')
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: