[arch-commits] Commit in libltc/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Apr 6 12:39:30 UTC 2019


    Date: Saturday, April 6, 2019 @ 12:39:29
  Author: dvzrv
Revision: 449981

archrelease: copy trunk to community-x86_64

Added:
  libltc/repos/community-x86_64/PKGBUILD
    (from rev 449980, libltc/trunk/PKGBUILD)
Deleted:
  libltc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 41 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-06 12:39:22 UTC (rev 449980)
+++ PKGBUILD	2019-04-06 12:39:29 UTC (rev 449981)
@@ -1,26 +0,0 @@
-# $Id$
-# 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.0
-pkgrel=2
-pkgdesc="Linear/Logitudinal Time Code (LTC) Library"
-arch=('x86_64')
-url="https://x42.github.io/libltc/"
-license=('GPL3')
-depends=('glibc')
-source=("https://github.com/x42/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c36a1c6b87429a0a541c958f9683f3ef5b4067a225f3a9a283123b7933386c88fd1a156e0582306e4cc1144a15ec2dadcbb2908c4d4f8678d794caf7f8bbb1fb')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}/" install
-}

Copied: libltc/repos/community-x86_64/PKGBUILD (from rev 449980, libltc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-06 12:39:29 UTC (rev 449981)
@@ -0,0 +1,41 @@
+# 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=1
+pkgdesc="Linear/Logitudinal Time Code (LTC) Library"
+arch=('x86_64')
+url="https://x42.github.io/libltc/"
+license=('GPL3')
+depends=('glibc')
+makedepends=('doxygen')
+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