updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / deadbeef-plugins-psipublish / PKGBUILD
blob3fcd7b1d2f6fd0f87bca1dcbcb47bef3ab783c54
1 # Contributor: Joker-jar <joker-jar@yandex.ru>
3 #TODO: Place sourcecode to somewhere :)
5 pkgname=deadbeef-plugins-psipublish
6 pkgver=1.2
7 pkgrel=3
8 pkgdesc="Plugin for DeaDBeeF to publish tune in Psi/Psi+"
9 arch=('i686' 'x86_64')
10 url="http://psi-im.org/wiki/Publish_Tune"
11 license=('GPL2')
12 depends=('deadbeef>=0.5.0')
13 makedepends=('deadbeef>=0.5.0')
14 source=('psipublish.c')
15 md5sums=('39f2e7557a4f3238a203354e4bbbe5cc')
17 build() {
18   cd $srcdir
19   gcc -I/usr/include/deadbeef -std=c99 -shared -O2 -o psipublish.so psipublish.c -fPIC
20   mkdir -p $pkgdir/usr/lib/deadbeef/
21   cp psipublish.so $pkgdir/usr/lib/deadbeef/