summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03131c58c9b20313d4972f562768185466975dc5 (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgdesc="XDG sound theme for the unexicon distribution"
pkgname=unexicon-sound-theme-git
_pkgname=unexicon-sound-theme
pkgver=1.1.r1.gce1f03d
pkgrel=1
arch=('any')
license=('GPL')
url="https://github.com/bbidulock/${_pkgname}"
groups=('unexicon')
provides=("${_pkgname}=${pkgver%%.r*}-${pkgrel}")
conflicts=("${_pkgname}")
depends=('sound-theme-freedesktop' 'sound-theme-smooth' 'linux-a11y-sound-theme')
makedepends=('git' 'pkgconfig' 'flite' 'flite-voices' 'sox')
source=("$pkgname::git://github.com/bbidulock/$_pkgname.git")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}

prepare() {
  cd $pkgname
  ./autogen.sh
}

build() {
 cd $pkgname
  ./configure
  make
}

package() {
  make -C ${pkgname} DESTDIR="${pkgdir}" install
}