summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 16:42:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 16:42:37 -0300
commita7c547a150ff63ad8bdd4cfd415785fa23721c05 (patch)
tree1bf20a6cc7f80a06ddce9379d076161119dfedb2
parent8b71e5a83412f0c2f45329fe89bb786b6971b7f3 (diff)
ogmrip-libre: fixing pkgname variables
-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
}