[arch-commits] Commit in dsdcc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu May 16 14:27:55 UTC 2019
Date: Thursday, May 16, 2019 @ 14:27:55
Author: ffy00
Revision: 467510
archrelease: copy trunk to community-x86_64
Added:
dsdcc/repos/community-x86_64/PKGBUILD
(from rev 467509, dsdcc/trunk/PKGBUILD)
Deleted:
dsdcc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-16 14:27:35 UTC (rev 467509)
+++ PKGBUILD 2019-05-16 14:27:55 UTC (rev 467510)
@@ -1,59 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
-# Contributor: Michal Krenek (Mikos) <m.krenek at gmail.com>
-
-pkgname=dsdcc
-pkgver=1.8.5
-pkgrel=1
-pkgdesc="Digital Speech Decoder (DSD) rewritten as a C++ library"
-arch=('x86_64')
-url="https://github.com/f4exb/dsdcc"
-license=('GPL3')
-depends=('mbelib' 'serialdv')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('da4aefee4e8d31507991b4a21df19858826b39b32820c8060fba21138d3216a8fe0fa2399050ab07383654eddf25696985361a853ef0cba0366957f249b24bee')
-
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- sed -i 's|LIBSERIAL_NAMES|LIBSERIALDV_NAMES|g' cmake/Modules/FindSerialDV.cmake
-}
-
-build() {
- mkdir -p "$srcdir"/$pkgname-$pkgver/build
- cd "$srcdir"/$pkgname-$pkgver/build
-
- cmake .. \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIBSERIALDV_INCLUDE_DIR=/usr/include/serialdv \
- -DUSE_MBELIB=ON
-
- make
-
- # Build tests
- cd "$srcdir"/$pkgname-$pkgver/testfec
-
- make
-}
-
-check() {
- cd "$srcdir"/$pkgname-$pkgver/testfec
-
- ./qr
- ./golay20
- ./golay23
- ./golay24
- ./hamming7
- ./hamming12
- ./hamming15
- ./hamming16
- ./viterbi
- ./viterbi35
- ./crc
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver/build
-
- make DESTDIR="$pkgdir" install
-}
Copied: dsdcc/repos/community-x86_64/PKGBUILD (from rev 467509, dsdcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-16 14:27:55 UTC (rev 467510)
@@ -0,0 +1,60 @@
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+# Contributor: Michal Krenek (Mikos) <m.krenek at gmail.com>
+
+pkgname=dsdcc
+pkgver=1.8.5
+pkgrel=2
+pkgdesc="Digital Speech Decoder (DSD) rewritten as a C++ library"
+arch=('x86_64')
+url="https://github.com/f4exb/dsdcc"
+license=('GPL3')
+depends=('mbelib' 'serialdv')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('da4aefee4e8d31507991b4a21df19858826b39b32820c8060fba21138d3216a8fe0fa2399050ab07383654eddf25696985361a853ef0cba0366957f249b24bee')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ sed -i 's|LIBSERIAL_NAMES|LIBSERIALDV_NAMES|g' cmake/Modules/FindSerialDV.cmake
+}
+
+build() {
+ mkdir -p "$srcdir"/$pkgname-$pkgver/build
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DLIBSERIALDV_INCLUDE_DIR=/usr/include/serialdv \
+ -DUSE_MBELIB=ON
+
+ make
+
+ # Build tests
+ cd "$srcdir"/$pkgname-$pkgver/testfec
+
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver/testfec
+
+ ./qr
+ ./golay20
+ ./golay23
+ ./golay24
+ ./hamming7
+ ./hamming12
+ ./hamming15
+ ./hamming16
+ ./viterbi
+ ./viterbi35
+ ./crc
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list