[arch-commits] Commit in osdlyrics/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:45:45 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:45:45
Author: felixonmars
Revision: 659854
archrelease: copy trunk to community-staging-x86_64
Added:
osdlyrics/repos/community-staging-x86_64/
osdlyrics/repos/community-staging-x86_64/PKGBUILD
(from rev 659853, osdlyrics/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: osdlyrics/repos/community-staging-x86_64/PKGBUILD (from rev 659853, osdlyrics/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:45:45 UTC (rev 659854)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=osdlyrics
+pkgver=0.4.3
+pkgrel=7
+pkgdesc="A lyric show compatible with various media players"
+arch=('x86_64')
+url="https://github.com/osdlyrics/osdlyrics"
+license=('GPL3')
+depends=('gtk2' 'dbus-glib' 'curl' 'libnotify' 'libmpd' 'xmms2'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'sqlite')
+makedepends=('intltool')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('87906c0327e0c07180da44ee8672cd2a29ef376f7b5b27d70139684d400171e4')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # -Werror is really quite annoying
+ ## automake: warning: possible forward-incompatibility.
+ ## automake: At least a source file is in a subdirectory, but the 'subdir-objects'
+ ## automake: automake option hasn't been enabled.
+ sed -i 's/-Werror//g' configure.ac
+ autoreconf -fi
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list