mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
|
|
pkgname=wgetpaste
|
|
pkgver=2.13
|
|
pkgrel=3
|
|
pkgdesc="A script that automates pasting to a number of pastebin services."
|
|
url="http://wgetpaste.zlin.dk/"
|
|
arch=('i686' 'x86_64')
|
|
license=('custom')
|
|
depends=('wget')
|
|
optdepends=('xclip: interface to Xclipboard')
|
|
source=(http://wgetpaste.zlin.dk/$pkgname-$pkgver.tar.bz2 \
|
|
http://wgetpaste.zlin.dk/$pkgname.example)
|
|
|
|
md5sums=('a341c778d745b0a7ad11163a4a2c1ea9'
|
|
'77392c788659cc648a59df2d239ebe19')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
|
|
install -D -m644 _${pkgname} $pkgdir/usr/share/zsh/site-functions/_${pkgname} || return 1
|
|
install -D -m644 ${srcdir}/${pkgname}.example ${pkgdir}/usr/share/${pkgname}/${pkgname}.example || return 1
|
|
|
|
#license
|
|
sed -n '2,5p' wgetpaste > LICENSE
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
|
}
|