summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6787b13f6921825f3c085262b3bdc96fc6d80755 (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
# AUR Category: devel
# Maintainer: Alexander Koch <lynix47@gmail.com>

pkgname=ptxdist-2018.12
_realname=ptxdist
pkgver=2018.12.0
pkgrel=1
pkgdesc="Embedded Linux build system, pinned 2018.12 release"
arch=('x86_64')
url="http://www.ptxdist.org"
license=('GPL')
depends=('dialog' 'flex' 'bison' 'patch' 'python2')
source=("http://www.pengutronix.de/software/ptxdist/download/${_realname}-${pkgver}.tar.bz2")
md5sums=(''d690c207aa27ed2be7fd392ad2809af3)

build() {
	cd "${srcdir}/${_realname}-${pkgver}"

	./configure --prefix=/usr --with-python=/usr/bin/python2
	make
}

package() {
	cd "${srcdir}/${_realname}-${pkgver}"

	make DESTDIR="${pkgdir}" install
	mv ${pkgdir}/usr/bin/ptxdist ${pkgdir}/usr/bin/${pkgname}
}

# vim: ts=4