summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3dcf256d6848a9e4e86299d0b45a54eda197d6ac (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
# Maintainer: erik-pro <aarnaarn2@gmail.com>
# Contributor: Kelly Prescott <kprescott@coolip.net>
# Contributor: Kyle <kyle@gmx.ca>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>

pkgname=talkingarch-git
pkgver=1.1.r0.g1f99984
pkgrel=1
pkgdesc="Builds TalkingArch, an unofficial Arch Linux live CD with speech and braille support added"
arch=('x86_64')
url="https://talkingarch.info/"
license=('GPL')
depends=(archiso-git)
makedepends=(git sox opus-tools)
provides=(talkingarch)
conflicts=(talkingarch)
source=(git+https://github.com/erik-pro/talkingarch.git)
md5sums=('SKIP')

pkgver() {
	cd talkingarch
	# cutting off 'v' prefix that presents in the git tag	
	printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}

package() {
	cd talkingarch
	make DESTDIR="$pkgdir" install
}