[arch-commits] Commit in twolame/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Oct 6 22:12:53 UTC 2019
Date: Sunday, October 6, 2019 @ 22:12:52
Author: dvzrv
Revision: 513673
upgpkg: twolame 0.3.13-9
Fixing unquoted pkgdir. Adding autoreconf call in prepare(). Installing further docs. Switching to correct license (LGPL2.1).
Modified:
twolame/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 22:03:31 UTC (rev 513672)
+++ PKGBUILD 2019-10-06 22:12:52 UTC (rev 513673)
@@ -5,18 +5,22 @@
pkgname=twolame
pkgver=0.3.13
-pkgrel=8
+pkgrel=9
pkgdesc="An optimized MPEG Audio Layer 2 (MP2) encoder"
arch=('x86_64')
url="http://www.twolame.org/"
-license=('LGPL')
-depends=('libsndfile')
+license=('LGPL2.1')
+depends=('glibc' 'libsndfile')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('241ae5faebf05cb919959bb0545cb89e9b71cfb07f92a7118d864499ea4f0065ddaa646ab1482ffbcbca427d52c2436764074bd67fd19a1eb9979987f23163f7')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ autoreconf -vfi
+}
+
build() {
cd "${pkgname}-${pkgver}"
-
./configure --prefix=/usr \
--disable-static
make
@@ -24,6 +28,7 @@
package() {
cd "${pkgname}-${pkgver}"
-
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
+ install -vDm 644 {AUTHORS,ChangeLog,README} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list