summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed7f16f7a62d42758f60aa25fb7628127e7fa5b6 (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
35
36
37
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>

pkgname=libiphb
pkgver=1.2.7
_commit_dbus_glib="d42176ae4763e5288ef37ea314fe58387faf2005"
pkgrel=1
pkgdesc="Interface to IP heartbeat service."
url="https://git.sailfishos.org/mer-core/libiphb"
arch=(any)
license=(GPL)
depends=('mce-dev>=1.28') 
makedepends=()
checkdepends=()
groups=(gnome)
source=("git+$url.git#tag=$pkgver"
        "https://github.com/sailfishos-mirror/dbus-glib/archive/$_commit_dbus_glib/dbus-glib-$_commit_dbus_glib.tar.gz")
sha256sums=('SKIP'
            'f4c28d4740ac90863082e81c869e5178d25238b179747984faf0509e40d1afef')

prepare() {
  cd $pkgname
  rm -rf dbus-gmain
  mv "$srcdir/dbus-glib-$_commit_dbus_glib" dbus-gmain
}

build() {
  cd $pkgname
  ./autogen.sh --prefix=/usr
  ./configure --prefix=/usr
  make
 }

package() {
  cd $pkgname
  make DESTDIR=$pkgdir install
  libtool --finish /usr/lib
}