blob: a5f09dcf5e0740422f9b485792598d38e7a61628 (
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
36
37
38
|
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=dmsdos-git
pkgver=56.1476832
pkgrel=1
pkgdesc='Linux utilities to handle dos/win95 doublespace/drivespace/stacker'
arch=('x86_64' 'i686')
url='https://github.com/sandsmark/dmsdos'
license=('GPL3')
depends=('glibc')
makedepends=('git' 'cmake')
conflicts=(dmsdos)
provides=(dmsdos)
source=('git+https://github.com/sandsmark/dmsdos.git')
md5sums=('SKIP')
pkgver() {
cd dmsdos
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../dmsdos \
-DCMAKE_INSTALL_PREFIX=/usr \
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|