blob: e332b2ccc0766f3c4ca9b8bf53a7023a39bb12b4 (
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
47
48
49
50
51
|
# Maintainer: Kaydax <contact+aur@kaydax.xyz>
_pkgname=dectalk
pkgname=${_pkgname}-git
pkgver=2023.10.30.r29.gb44e3af4
pkgrel=2
pkgdesc="Modern builds for the 90s/00s DECtalk text-to-speech application."
arch=('i686' 'x86_64')
url="https://github.com/dectalk/dectalk"
license=('Proprietary')
provides=('dectalk')
depends=('alsa-lib' 'libpulse')
makedepends=('make' 'git' 'unzip')
optdepend=(
'gtk2: Needed for graphical interface'
)
source=("git+https://github.com/dectalk/dectalk"
"dectalk.patch"
"dectalk.desktop"
"paul.png")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "dectalk"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
patch --directory="$_pkgname" --forward --strip=1 --input="${srcdir}/dectalk.patch"
cd "dectalk/src"
autoreconf -si
./configure
}
build() {
cd "dectalk/src"
make
}
package() {
mkdir -p "$pkgdir/usr/share/applications"
mkdir -p "$pkgdir/usr/share/pixmaps"
cp "dectalk.desktop" "$pkgdir/usr/share/applications/dectalk.desktop"
cp "paul.png" "$pkgdir/usr/share/pixmaps/paul.png"
cd "dectalk/src"
make DESTDIR="$pkgdir" install
}
|