[arch-commits] Commit in deadbeef/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Fri Aug 16 23:32:52 UTC 2019


    Date: Friday, August 16, 2019 @ 23:32:52
  Author: lfleischer
Revision: 499890

upgpkg: deadbeef 1.8.2-1

Upstream update.

Modified:
  deadbeef/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 23:26:06 UTC (rev 499889)
+++ PKGBUILD	2019-08-16 23:32:52 UTC (rev 499890)
@@ -2,8 +2,8 @@
 # Contributor: Alexey Yakovenko <waker at users.sourceforge.net>
 
 pkgname=deadbeef
-pkgver=0.7.2
-pkgrel=5
+pkgver=1.8.2
+pkgrel=1
 pkgdesc='A GTK+ audio player for GNU/Linux.'
 arch=('x86_64')
 url='http://deadbeef.sourceforge.net'
@@ -32,18 +32,22 @@
             'zlib: for Audio Overload plugin'
             'libzip: for vfs_zip plugin'
             'ffmpeg: for ffmpeg plugin')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('f8f5353e7c201fce316f8b082ab408bb')
+source=("https://github.com/DeaDBeeF-Player/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('e854a26b8d9e7eb8f8db8333d213655d')
 
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	
+	./autogen.sh 
+	./configure --prefix=/usr
+}
 
-  ./configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+build () {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make
 }
 
-package () {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make prefix="${pkgdir}/usr" install
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list