Date: Saturday, March 4, 2023 @ 08:52:25
  Author: felixonmars
Revision: 1411507

archrelease: copy trunk to community-x86_64

Added:
  libdsme/repos/community-x86_64/PKGBUILD
    (from rev 1411506, libdsme/trunk/PKGBUILD)
Deleted:
  libdsme/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-04 08:49:56 UTC (rev 1411506)
+++ PKGBUILD    2023-03-04 08:52:25 UTC (rev 1411507)
@@ -1,24 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=libdsme
-pkgver=0.66.8
-pkgrel=1
-pkgdesc="DSME dsmesock dynamic library"
-arch=('x86_64')
-url="https://github.com/sailfishos/libdsme";
-license=('LGPL')
-depends=('glib2')
-makedepends=('check')
-source=("https://github.com/sailfishos/libdsme/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('8f5245ba0d3a5e17051007017605ba8e69521b70f86376f6106a1bc12d7fef38941491b3e8dbbad732aeb557753f9c937c3494dfe6dd445bb2b3018cc71617af')
-
-build() {
-  cd $pkgname-$pkgver
-  ./verify_version
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="${pkgdir}" install_main install_devel
-}

Copied: libdsme/repos/community-x86_64/PKGBUILD (from rev 1411506, 
libdsme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-04 08:52:25 UTC (rev 1411507)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=libdsme
+pkgver=0.66.8
+pkgrel=1
+pkgdesc="DSME dsmesock dynamic library"
+arch=('x86_64')
+url="https://github.com/sailfishos/libdsme";
+license=('LGPL')
+depends=('glib2')
+makedepends=('check')
+source=("https://github.com/sailfishos/libdsme/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('8f5245ba0d3a5e17051007017605ba8e69521b70f86376f6106a1bc12d7fef38941491b3e8dbbad732aeb557753f9c937c3494dfe6dd445bb2b3018cc71617af')
+
+build() {
+  cd $pkgname-$pkgver
+  ./verify_version
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install_main install_devel
+
+  # Fix symlinks
+  for name in libdsme libdsme_dbus_if libthermalmanager_dbus_if; do
+    ln -sf $name.so.0.3.0 "$pkgdir"/usr/lib/$name.so.0
+    ln -sf $name.so.0.3.0 "$pkgdir"/usr/lib/$name.so
+  done
+}

Reply via email to