updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / ptpv2d / PKGBUILD
blob8fdaa2f619c045b159a52772a751918243f0f860
1 # Maintainer: Meyer S. Jacobs <meyer.jacobs[at]gmail[dot]com>
2 pkgname=ptpv2d
3 #Revision number from http://code.google.com/p/ptpv2d/source/list
4 pkgver=31
5 pkgrel=1
6 pkgdesc="Precision Time Protocol daemon implementing IEEE 1588 version 1, IEEE version 2, and IEEE 802.1AS PTP"
7 url="http://code.google.com/p/ptpv2d/"
8 arch=('x86_64' 'i686')
9 license=('GPL2')
10 makedepends=('subversion')
11 conflicts=('ptpd')
12 source=("ptpv2d.patch")
13 md5sums=('af7ae06c906f8fddacb1ae038a3f1654')
15 build() {
16   cd "${srcdir}"
17   svn checkout http://ptpv2d.googlecode.com/svn/trunk/ptpv2d-dev/application/src "${pkgname}-${pkgver}"
18   cd "${pkgname}-${pkgver}"
19   patch -p1 -i ../ptpv2d.patch
20   make
23 package() {
24   cd "${srcdir}/${pkgname}-${pkgver}"
25   install -Dm755 ptpv2d "${pkgdir}/usr/bin/ptpv2d"