Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=vlc-srpos-plugin
- pkgver=0.3
- pkgrel=1
- pkgdesc="This plugin allows you to automatically save and restore the position of the last 100 played files in the VLC player."
- arch=('i686' 'x86_64')
- url="http://vlcsrposplugin.sourceforge.net/"
- license=("LGPL")
- depends=("vlc>=2.1.0")
- source=("http://downloads.sourceforge.net/project/vlcsrposplugin/libsrpos_plugin-${pkgver}.tar.gz")
- sha256sums=('70c3edf8cf0d653dd37aca3f6f6074096e09cdce200ab7c2a3481911ee095383')
- # You can configure the number of video clips the plugin will remember (default is 100):
- _max_items_remembered=100
- prepare() {
- sed -i "s/int n_max_items = 100;/int n_max_items = ${_max_items_remembered};/" "${srcdir}/libsrpos_plugin-${pkgver}/srpos.c"
- }
- build() {
- cd "${srcdir}/libsrpos_plugin-${pkgver}"
- ./configure
- make
- }
- package() {
- cd "${srcdir}/libsrpos_plugin-${pkgver}"
- make DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment