summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f31327b8e72c7b78b39d62648d13ee5179bc916 (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
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
# Contributor: Nikita Ukhrenkov <thekit@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>

_pkgname=icd2-osso-ic-dev
pkgname=icd2-osso-ic-headers
pkgver=2.0.1
pkgrel=1
pkgdesc="Compatibility header files for osso-ic-headers"
url="https://github.com/maemo-leste/$_pkgname"
arch=(any)
license=(LGPL)
makedepends=(libtool m4 autoconf automake libtool)
groups=(maemo)
source=("git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

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

build() {
  cd $_pkgname
  CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" ./configure --prefix=/usr
  make
 }

package() {
  cd $_pkgname
  DESTDIR="$pkgdir" make install
}