upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / libdsme / repos / community-x86_64 / PKGBUILD
blob361a3775df5bd4f3288ac073629bbc9e612e709a
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=libdsme
4 pkgver=0.66.8
5 pkgrel=1
6 pkgdesc="DSME dsmesock dynamic library"
7 arch=('x86_64')
8 url="https://github.com/sailfishos/libdsme"
9 license=('LGPL')
10 depends=('glib2')
11 makedepends=('check')
12 source=("https://github.com/sailfishos/libdsme/archive/$pkgver/$pkgname-$pkgver.tar.gz")
13 sha512sums=('8f5245ba0d3a5e17051007017605ba8e69521b70f86376f6106a1bc12d7fef38941491b3e8dbbad732aeb557753f9c937c3494dfe6dd445bb2b3018cc71617af')
15 build() {
16   cd $pkgname-$pkgver
17   ./verify_version
18   make
21 package() {
22   cd $pkgname-$pkgver
23   make DESTDIR="${pkgdir}" install_main install_devel
25   # Fix symlinks
26   for name in libdsme libdsme_dbus_if libthermalmanager_dbus_if; do
27     ln -sf $name.so.0.3.0 "$pkgdir"/usr/lib/$name.so.0
28     ln -sf $name.so.0.3.0 "$pkgdir"/usr/lib/$name.so
29   done