Upload PKGBUILD File

This commit is contained in:
Pavel Pivovarov
2022-05-15 05:20:04 +00:00
commit a3dcb317c7

33
PKGBUILD Normal file
View File

@@ -0,0 +1,33 @@
# Maintainer: Alexander Blinne "Sunday" <alexander at blinne dot net>
_pkgname=sview
pkgname=$_pkgname-git
pkgver=20.08.a255e0d
pkgrel=1
pkgdesc="Stereoscopic 3D video player with OpenGL UI"
arch=('i686' 'x86_64')
url="http://www.sview.ru/en"
license=('custom')
depends=('libconfig' 'ffmpeg' 'freetype2' 'gtk2' 'libgl' 'libx11' 'libxext' 'libxpm' 'openal' 'ttf-droid' 'gnu-free-fonts')
optdepends=('ttf-nanum')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/gkv311/$_pkgname.git")
md5sums=('SKIP')
build() {
cd $_pkgname
git checkout a255e0d402c6e576b4d0569a6a0fd206816d7954
unset ANDROID_NDK
msg2 "Starting make..."
make -j1 all
}
package() {
cd $_pkgname
msg2 "Starting make install..."
make DESTDIR="$pkgdir" install
mkdir -p $pkgdir/usr/share/licenses/$_pkgname/
cp docs/LICENSE.md $pkgdir/usr/share/licenses/$_pkgname/
}