summaryrefslogtreecommitdiff
path: root/community/nvdock/PKGBUILD
blob: 0a70eb271159fb0ebc206ffb3f490dfb3e318f93 (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
# $Id: PKGBUILD 8929 2010-01-22 18:37:23Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Matthew Sharpe <matt.sharpe@gmail.com>

pkgname=nvdock
pkgver=1.02
pkgrel=3
pkgdesc="A tray icon for easy launching of the NVIDIA control panel"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.opsat.net/user/bob/projects/nvdock"
license=('BSD')
depends=('gtk2')
makedepends=('glib')
source=(http://bobmajdakjr.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('e18c4eeff936dc3b671fd8b5a9bb5145')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make || return 1
  install -D -m755 build/nvdock "${pkgdir}/usr/bin/nvdock" || return 1
  install -D -m644 data/nvdock.png "${pkgdir}/usr/share/pixmaps/nvdock.png" || return 1
  install -D -m644 data/nvdock.desktop "${pkgdir}/usr/share/applications/nvdock.desktop" || return 1

  # Install license
  install -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}