aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 177e12952da7d482812c4dcec2b24aaf00445423 (plain) (blame)
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: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=libgammamm
pkgver=1.0
pkgrel=1
pkgdesc="Display server abstraction layer for gamma ramps and C++"
arch=(i686 x86_64)
url="https://github.com/maandree/libgammamm"
license=('GPL3')
depends=('libgamma>=0.3' glibc gcc-libs)
makedepends=('libgamma>=0.3' glibc gcc-libs gcc make coreutils)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(372c1455c26979a1895584c9a41073267004df9740543b81e495719f21cb40e6)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  LDFLAGS=${LDFLAGS/--as-needed/}
  LDFLAGS=${LDFLAGS/,,/,}
  export LDFLAGS
  make PREFIX=/usr
}


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