Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: libltc 1.3.2-1: Upgrade to 1.3.2
Browse files Browse the repository at this point in the history
Remove unnecessary quotes and curly braces.
Run tests only with one job as they fail otherwise: x42/libltc#66
Add debug package.
Update maintainer info.

git-svn-id: file:///srv/repos/svn-community/svn@1292859 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
dvzrv committed Sep 4, 2022
1 parent e04a984 commit 896f66e
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions libltc/trunk/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
# Maintainer: David Runge <[email protected]>
# Maintainer: David Runge <[email protected]>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: DrZaius <lou[at]fakeoutdoorsman.com>

pkgname=libltc
pkgver=1.3.1
pkgrel=3
pkgver=1.3.2
pkgrel=1
pkgdesc="Linear/Logitudinal Time Code (LTC) Library"
arch=('x86_64')
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')
license=(GPL3)
depends=(glibc)
makedepends=(doxygen)
provides=(libltc.so)
options=(debug)
source=(https://github.com/x42/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('3b29b7da1ad9f85c62068b927abec9b3963a77558b46b3ee7681f360642570935becedcf95436574a8a7b456c7e0b414131571d71c6903139f9e7565968278a6')
b2sums=('8a6b3452245f72e918b4a105854d751ca66780ce4627aca54bb0d1342c5a1e77e614103da15037f71b89d44c62b35230a6240e42af287c442e6049c2ad9c85a6')

prepare() {
cd "${pkgname}-${pkgver}"
autoreconf -vfi
cd $pkgname-$pkgver
autoreconf -fiv
}

build() {
cd "${pkgname}-${pkgver}"
cd $pkgname-$pkgver
./configure --prefix=/usr
make
doxygen
}

check(){
cd "${pkgname}-${pkgver}"
make check
# tests can not run with parallel jobs: https://github.com/x42/libltc/issues/66
make check -j1 -C $pkgname-$pkgver
}

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"
make DESTDIR="$pkgdir/" install -C $pkgname-$pkgver
install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 $pkgname-$pkgver/doc/html/*.{css,html,js,png} -t "$pkgdir/usr/share/doc/$pkgname/html/"
}

0 comments on commit 896f66e

Please sign in to comment.