summaryrefslogtreecommitdiff
path: root/libre/ogmrip-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/ogmrip-libre')
-rw-r--r--libre/ogmrip-libre/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/ogmrip-libre/PKGBUILD b/libre/ogmrip-libre/PKGBUILD
index 585fdc10a..cd2e48f2b 100644
--- a/libre/ogmrip-libre/PKGBUILD
+++ b/libre/ogmrip-libre/PKGBUILD
@@ -24,21 +24,24 @@ optdepends=('lame: support for the MP3 audio codec'
'gocr: support for the SRT subtitle format'
'ocrad: support for the SRT subtitle format'
'tesseract: support for the SRT subtitle format')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
options=('!libtool' '!makeflags')
-changelog=$pkgname.changelog
-install=$pkgname.install
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+changelog=$_pkgname.changelog
+install=$_pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('ea6a75e6cc4fe7df1ed65648af208c87748959a6b372847b1005c3b92cc5a423')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/usr/share
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}