summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a97dfed9a5a56f887c8e048d9f72d253ef3ef16b (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
# Maintainer: Savvy Raghuvanshi <sraghuvanshi at college dot harvard dot edu>

pkgname=harvard-linux-printer
pkgver=21.ff91980
pkgrel=1
pkgdesc="Connect to Harvard University's printer network from an Arch Linux machine." 
arch=('any')
url="https://github.com/djsavvy/harvard-linux-printer"
license=('MIT')
depends=('cups' 'samba' 'smbclient' 'bash') 
makedepends=('git' 'coreutils')
optdepends=('gtk3-print-backends:	to print from GTK3 applications')
source=("git://github.com/djsavvy/harvard-linux-printer")
md5sums=('SKIP')

pkgver() {
	cd "$pkgname"
	echo "$(git rev-list --count HEAD).$(git describe --always)" | sed -e 's/-/_/g'
}


package() {
	cd "$pkgname"
	install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
}