[arch-commits] Commit in libltc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:44:11 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:44:11
  Author: felixonmars
Revision: 659844

archrelease: copy trunk to community-staging-x86_64

Added:
  libltc/repos/community-staging-x86_64/
  libltc/repos/community-staging-x86_64/PKGBUILD
    (from rev 659843, libltc/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: libltc/repos/community-staging-x86_64/PKGBUILD (from rev 659843, libltc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:44:11 UTC (rev 659844)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: DrZaius <lou[at]fakeoutdoorsman.com>
+
+pkgname=libltc
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="Linear/Logitudinal Time Code (LTC) Library"
+arch=('x86_64')
+url="https://x42.github.io/libltc/"
+license=('GPL3')
+depends=('glibc')
+makedepends=('doxygen')
+provides=('libltc.so')
+source=("https://github.com/x42/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('e4ba96560f04155d022d2c975fa36d4bb77efb9a877344041e1bd12bd5e7d04dccb452f3a4e061aba961bd0c3c0d1d53dc98ac469e04e61a934feeedc20e09b3')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+  doxygen
+}
+
+check(){
+  cd "${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+  install -vDm 644 {AUTHORS,ChangeLog,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 doc/html/*.{css,html,js,png} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+}



More information about the arch-commits mailing list