diff --git a/pkgs/ffmpeg/build.sh b/pkgs/ffmpeg/build.sh new file mode 100644 index 0000000..29fb86c --- /dev/null +++ b/pkgs/ffmpeg/build.sh @@ -0,0 +1,27 @@ +pkgname=ffmpeg +pkgver=4.3.2 + +fetch() { + curl "https://ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz" -o $pkgname-$pkgver.tar.xz + tar -xf $pkgname-$pkgver.tar.xz +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --cc=cc + + gmake +} + +package() { + cd $pkgname-$pkgver + gmake install DESTDIR=$pkgdir +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +} diff --git a/pkgs/mpv/build.sh b/pkgs/mpv/build.sh new file mode 100644 index 0000000..28c4403 --- /dev/null +++ b/pkgs/mpv/build.sh @@ -0,0 +1,26 @@ +pkgname=mpv +pkgver=0.33.1 + +fetch() { + curl -L "https://github.com/mpv-player/mpv/archive/refs/tags/v0.33.1.tar.gz" -o $pkgname-$pkgver.tar.xz + tar -xf $pkgname-$pkgver.tar.xz +} + +build() { + cd $pkgname-$pkgver + ./bootstrap.py + ./waf configure --prefix=/usr --confdir=/etc/mpv --enable-libmpv-shared + + ./waf build +} + +package() { + cd $pkgname-$pkgver + ./waf install --destdir=$pkgdir +} + +license() { + cd $pkgname-$pkgver + cat LICENSE +# cat COPYING +}