summaryrefslogtreecommitdiff
path: root/libre/clementine-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/clementine-libre/PKGBUILD')
-rw-r--r--libre/clementine-libre/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine-libre/PKGBUILD
index e74b26c45..4468b7832 100644
--- a/libre/clementine-libre/PKGBUILD
+++ b/libre/clementine-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 103980 2014-01-14 12:52:23Z jgc $
+# $Id: PKGBUILD 106122 2014-02-23 15:32:14Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: BlackEagle <ike.devolder@gmail.com>
@@ -9,8 +9,8 @@
_pkgname=clementine
pkgname=clementine-libre
-pkgver=1.2.1
-pkgrel=2.1
+pkgver=1.2.2
+pkgrel=1
pkgdesc="A music player and library organizer, without nonfree artwork and spotify support"
url="http://www.clementine-player.org/"
license=('GPL')
@@ -26,17 +26,19 @@ replaces=('clementine')
conflicts=('clementine')
provides=("clementine=$pkgver")
install=clementine.install
-mksource=("http://clementine-player.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz"
+mksource=("${_pkgname}-${pkgver}.tar.gz::https://github.com/clementine-player/Clementine/archive/${pkgver}.tar.gz"
'remove-nonfree-artwork-and-spotify.patch'
'moognu.png')
-source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-mksha256sums=('db556e8bf230e2535636f5736a62ffe24ce154481fb05123e8395ab4aa64654e'
- '13c12cb47a9bb4585014512ebf2c9e81f8ab35afee255f35360acb0f388e21db'
+source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "${_pkgname}-unistd.patch")
+mksha256sums=('1f674c42f05c476baf74f1dd37b1aa357ff9199e4493173052c856a53e5f0a96'
+ '48bfbf42c84ac1891021638627c10780194fcc59eda1c69e157be3aebe8ee10b'
'c6918617769152f3617c61f721819e69d03f671b85760b11cfe45abd53955bc4')
-sha256sums=('c376dd2cc346ad1f9828d3731e2bfb03cd0b4d06ea2b23d4b2caaf9351812ec2')
+sha256sums=('02d799056435f244a319eea110672c404c8804a2418677253d5cdd4ea01a340f'
+ 'bb02f82c3bcdad542396fc0788010321d618fc0545d34d00fee63bed987a0bbf')
mksource() {
- cd ${_pkgname}-${pkgver}
+ cd Clementine-${pkgver}
# remove nonfree nonfree artwork and spotify references on files
patch -Np1 -i ../remove-nonfree-artwork-and-spotify.patch
@@ -61,8 +63,14 @@ mksource() {
touch data/schema/schema-30.sql
}
+prepare() {
+ cd Clementine-${pkgver}
+
+ patch -Np1 -i ../${_pkgname}-unistd.patch
+}
+
build() {
- cd ${_pkgname}-${pkgver}
+ cd Clementine-${pkgver}
if [[ -d build ]]; then
rm -rf build
@@ -74,7 +82,7 @@ build() {
}
package() {
- cd ${_pkgname}-${pkgver}/build
+ cd Clementine-${pkgver}/build
make DESTDIR="${pkgdir}" install
}