summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b854d12dcd353b961afe80c6e20d939265e81f52 (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
# Maintainer: justforlxz <justforlxz@gmail.com>

pkgname=deepin-sound-theme-git
pkgver=15.10.6.r16.g20bbb53
pkgrel=1
pkgdesc="Deepin sound theme"
arch=('any')
url="https://github.com/linuxdeepin/deepin-sound-theme"
makedepends=('git')
license=('GPL3')
groups=('deepin-git')
conflicts=('deepin-artwork' 'deepin-sound-theme')
provides=('deepin-sound-theme')
source=("$pkgname::git+https://github.com/linuxdeepin/deepin-sound-theme/")
sha512sums=('SKIP')

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

build() {
  cd $pkgname
  make
}

package() {
  cd $pkgname
  make PREFIX=/usr DESTDIR="$pkgdir" install
}