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

pkgname=libconic
pkgver=0.24.1
pkgrel=1
pkgdesc="Internet connectivity library"
url="https://github.com/maemo-leste/$pkgname"
arch=(any)
license=(LGPL)
depends=(dbus-glib gconf icd2-osso-ic-headers)
makedepends=(git glib2)
checkdepends=()
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
  libtool --finish /usr/lib
}