blob: e2860b529885277606b71b228988e963652dbc25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
#
# Upstream: https://git.metalpunks.info/arch-ports
_pkgname=deadbeef-lyricbar
pkgname=deadbeef-plugin-lyricbar-git
<<<<<<< HEAD
pkgver=r66.g39b9568
pkgrel=1
=======
pkgver=r60.ga08374c
pkgrel=2
>>>>>>> f2177fdbd14794575ba8d65500a2dd3d85f0fb1b
pkgdesc="DeaDBeeF lyric bar plugin"
arch=('i686' 'x86_64')
url="https://github.com/C0rn3j/deadbeef-lyricbar"
license=('MIT')
depends=('deadbeef' 'libxml++')
optdepends=('gtkmm3' 'gtkmm')
makedepends=('git')
source=("${_pkgname}::git+${url}"
"${_pkgname}-makefile.patch")
sha256sums=('SKIP'
'7c3088f5e4f703aca04011158e27087643410a189c2dcbb1fbd65fdbca8b216f')
pkgver() {
cd "${_pkgname}"
printf "r%s.g%s" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
prepare() {
cd "${_pkgname}"
# Arch compile FLAGS
patch -p1 -i ../${_pkgname}-makefile.patch
}
build() {
cd "${_pkgname}"
make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" gtk2
mv ddb_lyricbar_gtk2.so ddb_lyricbar_gtk2.so.save
make clean
make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}"
mv ddb_lyricbar_gtk2.so.save ddb_lyricbar_gtk2.so
}
package() {
cd "${_pkgname}"
make prefix="${pkgdir}/usr" install
}
|