summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c73e0ced0e4a26af6bd7579358d7f4e58a4e498 (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
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>

pkgname=glog-squash-git
pkgver=1.1bfd52e
pkgrel=1
pkgdesc='Simple LD_PRELOAD shim to shut up GTK/Glib applications'
arch=('x86_64' 'i686')
url='https://github.com/sandsmark/glog-squash'
license=('GPL3')
depends=("genieutils-git>=709" 'sfml')
makedepends=('git' 'miniaudio-git>=1865')
conflicts=(glog-squash)
provides=(glog-squash)
optdepends=('ageofconquerors-trial-data: Game data files')
source=('git+https://github.com/sandsmark/glog-squash.git')
md5sums=('SKIP')

pkgver() {
    cd glog-squash
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd glog-squash
    make
}


package() {
    cd glog-squash
    install -D -m755 glog-squash.so -t "${pkgdir}/usr/lib/glog-squash/"
    install -D -m755 glog-squash.sh -t "${pkgdir}/etc/profile.d/"
}