[arch-commits] Commit in gsopcast/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Nov 23 20:44:17 UTC 2017
Date: Thursday, November 23, 2017 @ 20:44:16
Author: arodseth
Revision: 268240
upgpkg: gsopcast 0.4.0-8
Modified:
gsopcast/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-23 20:11:46 UTC (rev 268239)
+++ PKGBUILD 2017-11-23 20:44:16 UTC (rev 268240)
@@ -1,31 +1,35 @@
# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: pressh <pressh at gmail dot com>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: pressh <pressh at gmail.com>
+# Contributor: Alessio Bolognino <themolok at gmail.com>
pkgname=gsopcast
pkgver=0.4.0
-pkgrel=7
-pkgdesc="A GTK front-end of p2p TV sopcast"
+pkgrel=8
+pkgdesc='GTK front-end of p2p TV sopcast'
arch=('x86_64')
-url="http://code.google.com/p/gsopcast/"
+url='https://code.google.com/archive/p/gsopcast/'
license=('GPL')
-depends=('sopcast' 'gtk2' 'alsa-lib')
-makedepends=('perl-xml-parser' 'pkgconfig')
-source=("http://gsopcast.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+depends=('alsa-lib' 'gtk2' 'sopcast')
+makedepends=('addinclude' 'perl-xml-parser' 'pkgconfig')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('65e4f09d714455df809a58c12a76749f')
-
+sha256sums=('be90eee9e31ce4232511bc6555c8dde75ed813efa97a483bb6fa5c20c3ebb155')
+
+prepare() {
+ addinclude "$pkgname-$pkgver/src/header.h" string
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
- echo "#include <string.h>" >> ./src/header.h
-
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
- make DESTDIR="${pkgdir}" install
-}
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list