Skip to content

Instantly share code, notes, and snippets.

@beatgammit
Created March 14, 2013 01:38

Revisions

  1. beatgammit created this gist Mar 14, 2013.
    24 changes: 24 additions & 0 deletions PKGBUILD
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # Maintainer: grimsock <lord.grimsock at gmail dot com>

    pkgname=chromedriver
    pkgver=26.0.1383.0
    pkgrel=1
    pkgdesc="ChromeDriver is a standalone server which implements WebDriver's wire protocol"
    arch=('i686' 'x86_64')
    url="http://code.google.com/p/selenium/wiki/ChromeDriver"
    license=('Apache')
    depends=('chromium>=12.0.712.0' 'libpng12')

    if [ "$CARCH" = "i686" ]; then
    _arch='linux32'
    md5sums=('c9a1e807867309318e1a591741ce5310')
    elif [ "$CARCH" = "x86_64" ]; then
    _arch='linux64'
    md5sums=('1462c8714566c7c74b220c0fe212be42')
    fi

    source=("http://chromedriver.googlecode.com/files/${pkgname}_${_arch}_${pkgver}.zip")

    build() {
    install -D -m 755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
    }