summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4b2203402ab2f266d9424a46039fe360963220d (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
39
40
41
42
43
44
45
46
# Maintainer: Your Name <youremail@domain.com>
pkgname=midicsv
pkgver=1.1
pkgrel=1
epoch=
pkgdesc="Translates between MIDI and CSV."
arch=('i686' 'x86_64')
url="http://www.fourmilab.ch/webtools/midicsv/"
license=('custom')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($url$pkgname-$pkgver.tar.gz LICENSE)
noextract=()
md5sums=('f200bfbe630bd124b3a560d8592ed597'
         'a940c0fd0b9c66f8b6938bf38082a8d5')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	#./configure --prefix=/usr
	make
}

check() {
	cd "$srcdir/$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	sed -i '/INSTALL_DEST/s#/usr/local#$(DESTDIR)/usr#' Makefile
	make DESTDIR="$pkgdir/" install
	install -D -m644 "$srcdir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

md5sums=('f200bfbe630bd124b3a560d8592ed597'
         'a940c0fd0b9c66f8b6938bf38082a8d5')