summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b7fc4a3100cb021630112a9ce6b287ee0625861 (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
# Maintainer: Alice S. <quarkyalice@disroot.org>
pkgname=emu2-git
pkgver=r91.c01cfa8
pkgrel=1
pkgdesc="A simple DOS emulator for the Linux text console, supporting basic DOS system calls and console I/O."
arch=('any')
url="https://github.com/dmsc/emu2"
license=('GPL')
makedepends=(git)
source=("${pkgname}::git+$url")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="$pkgdir/" install
}