summaryrefslogtreecommitdiff
path: root/community/nvdock/PKGBUILD
blob: cd8728d08324aaf4951d5b165ef11f765c6192d6 (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
28
29
30
31
32
# $Id: PKGBUILD 59826 2011-11-30 20:47:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Matthew Sharpe <matt.sharpe@gmail.com>

pkgname=nvdock
pkgver=1.02
pkgrel=4
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
}

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

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

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