summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab5139e19dc2276c4381fa239138332942651bdc (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 Robosky <fangyuhao0612@gmail.com>
pkgname=avengers-gtk-theme-git
_pkgname=Avengers-gtk-theme
pkgdesc='A special version of Qogir gtk theme'
pkgver=8.f91984c
pkgrel=1
arch=('any')
depends=('gtk3' 'gtk-engine-murrine' 'gtk-engines')
license=('GPL3')
source=('Install.patch'
        'git+https://github.com/vinceliuice/Avengers-gtk-theme.git')
url='https://github.com/vinceliuice/Avengers-gtk-theme'
md5sums=('SKIP'
         'SKIP')
makedepends=('git' 'patch')
pkgver() {
    cd "${srcdir}/${_pkgname}"
    echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
    cd "${srcdir}/${_pkgname}"
    patch Install < "${srcdir}/Install.patch"
}
package() {
    cd "${srcdir}/${_pkgname}"
    install -m755 -d "${pkgdir}/usr/share/themes"
    DEST_DIR="${pkgdir}/usr/share/themes" ./Install
}