summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-09 05:11:12 +0300
committerDimitris Kiziridis2020-05-09 05:11:12 +0300
commitcff33e9db2ef13c07037824b38bd8a1ad35c5472 (patch)
tree2d02d70b28f84ffb5ac1a6fbcb506439553111e7
parent09a34151876ff5aa6a2d57c26631642e46594b25 (diff)
downloadaur-cff33e9db2ef13c07037824b38bd8a1ad35c5472.tar.gz
Update to 2.10.37
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD24
2 files changed, 19 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c60db3c907b..33de04558eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = asdcplib
pkgdesc = Open Source implementation of SMPTE and the MXF Interop “Sound & Picture Track File” format
- pkgver = 2.10.35
+ pkgver = 2.10.37
pkgrel = 1
url = http://www.cinecert.com/asdcplib/
arch = i686
arch = x86_64
- license = GPL-3.0
- depends = expat
+ license = GPL3
depends = openssl
- source = https://github.com/cinecert/asdcplib/archive/rel_2_10_35.tar.gz
- md5sums = 4639926c64c1c752ad4f1550f6a025c2
+ source = asdcplib-2.10.37.tar.gz::https://github.com/cinecert/asdcplib/archive/rel_2_10_37.tar.gz
+ sha256sums = 2e9e46458c888ffa1458fb4b8e20146a34f064cd860f23dd251bd1e6122aca98
pkgname = asdcplib
diff --git a/PKGBUILD b/PKGBUILD
index d7182682e4e..b292c9aea6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,32 @@
# Contributor: ianux <ianux@free.fr>
pkgname=asdcplib
-pkgver=2.10.35
+pkgver=2.10.37
+_pkgver=2_10_37
pkgrel=1
pkgdesc="Open Source implementation of SMPTE and the MXF Interop “Sound & Picture Track File” format"
arch=('i686' 'x86_64')
url="http://www.cinecert.com/asdcplib/"
-license=('GPL-3.0')
-depends=('expat' 'openssl')
-source=("https://github.com/cinecert/asdcplib/archive/rel_2_10_35.tar.gz")
-md5sums=('4639926c64c1c752ad4f1550f6a025c2')
+license=('GPL3')
+depends=('openssl')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cinecert/asdcplib/archive/rel_${_pkgver}.tar.gz")
+sha256sums=('2e9e46458c888ffa1458fb4b8e20146a34f064cd860f23dd251bd1e6122aca98')
-build() {
- cd ${pkgname}-rel_2_10_35
+prepare() {
+ cd ${pkgname}-rel_${_pkgver}
autoreconf -if
./configure --enable-freedist --enable-as-02 --prefix=/usr
+}
+
+build() {
+ cd ${pkgname}-rel_${_pkgver}
make
make dist
}
package() {
- cd ${pkgname}-rel_2_10_35
+ cd ${pkgname}-rel_${_pkgver}
make DESTDIR=${pkgdir} install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
+ ln -s /usr/share/licenses/common/GPL3/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file