PKGBUILDs/aur/omxplayer-git/PKGBUILD

50 lines
1.1 KiB
Bash
Raw Normal View History

2013-11-16 18:40:58 +00:00
# Maintainer: Huulivoide <gmail.com: jesse.jaara>
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
buildarch=18
2013-06-23 17:35:56 +00:00
pkgname=omxplayer-git
2013-11-24 23:40:08 +00:00
pkgver=262.9b52cee
2013-06-23 17:35:56 +00:00
pkgrel=1
pkgdesc="omxplayer is a command line media player for the RaspberryPi"
arch=('arm' 'armv6h')
2013-08-13 01:17:55 +00:00
url="https://github.com/popcornmix/omxplayer"
2013-06-23 17:35:56 +00:00
license=(GPL2)
depends=(ffmpeg raspberrypi-firmware-tools fbset dbus)
2013-06-23 17:35:56 +00:00
makedepends=(git boost)
optdepends=(ttf-freefont)
provides=(omxplayer)
conflicts=(omxplayer omxplayer-bin)
2013-08-13 01:17:55 +00:00
source=(git://github.com/popcornmix/omxplayer.git
2013-11-16 18:40:58 +00:00
omxplayer.arch Makefile.arch Makefile.include.arch)
2013-08-13 01:17:55 +00:00
pkgver() {
cd omxplayer
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
cd "${srcdir}/omxplayer"
2013-06-23 17:35:56 +00:00
cp ../Makefile.arch Makefile
cp ../Makefile.include.arch Makefile.include
cp ../omxplayer.arch omxplayer
2013-08-13 01:17:55 +00:00
}
build() {
cd "${srcdir}/omxplayer"
2013-06-23 17:35:56 +00:00
make
}
package() {
2013-08-13 01:17:55 +00:00
cd "${srcdir}/omxplayer"
make DESTDIR="${pkgdir}" install
2013-06-23 17:35:56 +00:00
}
2013-08-13 01:17:55 +00:00
md5sums=('SKIP'
2013-11-24 23:40:08 +00:00
'b256bd3a81a974543a0afc62b62e5c28'
'462e40e8da2e2b10cb32138e7885d285'
2013-11-16 18:40:58 +00:00
'a8635442d02665944c04c18606453a04')