From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- unsilence | 1 - unsilence/.SRCINFO | 16 ++++++++++++++++ unsilence/.gitignore | 4 ++++ unsilence/PKGBUILD | 28 ++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 1 deletion(-) delete mode 160000 unsilence create mode 100644 unsilence/.SRCINFO create mode 100644 unsilence/.gitignore create mode 100644 unsilence/PKGBUILD (limited to 'unsilence') diff --git a/unsilence b/unsilence deleted file mode 160000 index 668443e..0000000 --- a/unsilence +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 668443ef7ab8bc1109df5d219f8bf32f6806e0ab diff --git a/unsilence/.SRCINFO b/unsilence/.SRCINFO new file mode 100644 index 0000000..958ad04 --- /dev/null +++ b/unsilence/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = unsilence + pkgdesc = Console Interface and Library to remove silent parts of a media file + pkgver = 1.0.8 + pkgrel = 1 + url = https://github.com/lagmoellertim/unsilence + arch = any + license = MIT + makedepends = python-setuptools + depends = ffmpeg + depends = python + depends = python-argparse + depends = python-rich + source = unsilence-1.0.8.tar.gz::https://github.com/lagmoellertim/unsilence/archive/1.0.8.tar.gz + sha256sums = bd377d279ae155d02cc29cb6fbe836021c2ca2d1bc2766675c0beeb2f50c9e43 + +pkgname = unsilence diff --git a/unsilence/.gitignore b/unsilence/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/unsilence/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/unsilence/PKGBUILD b/unsilence/PKGBUILD new file mode 100644 index 0000000..ca792d2 --- /dev/null +++ b/unsilence/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Yigit Sever +# Contributor: Caltlgin Stsodaat + +pkgname=unsilence +pkgver=1.0.8 +pkgrel=1 +pkgdesc='Console Interface and Library to remove silent parts of a media file' +arch=('any') +url='https://github.com/lagmoellertim/unsilence' +license=('MIT') +depends=('ffmpeg' 'python' 'python-argparse' 'python-rich') +makedepends=('python-setuptools') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('bd377d279ae155d02cc29cb6fbe836021c2ca2d1bc2766675c0beeb2f50c9e43') + +build() { + cd "${pkgname}-${pkgver}" + sed -i 's/9.10.0/10.11.0/' requirements.txt + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md' + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE' + rm -r "${pkgdir}/usr/lib/python"*'/site-packages/examples' +} -- cgit v1.2.3-70-g09d2