wgetpaste: set noarch, misc changes.
This commit is contained in:
parent
dd6eec3207
commit
0d09fc1e55
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'wgetpaste'
|
||||
pkgname=wgetpaste
|
||||
version=2.18
|
||||
revision=1
|
||||
distfiles="http://wgetpaste.zlin.dk/$pkgname-$version.tar.bz2"
|
||||
short_desc="A script that automates pasting to a number of pastebin services"
|
||||
maintainer="Robert Djubek <envy1988@gmail.com>"
|
||||
|
@ -10,16 +11,15 @@ checksum=95ee46eac37ca74ce960c1726afc19f4a1dde4d1875ac860fdc5e45d3cb05d3e
|
|||
long_desc="
|
||||
A script that automates pasting to a number of pastebin services"
|
||||
|
||||
noarch=yes
|
||||
|
||||
Add_dependency full bash
|
||||
Add_dependency full wget
|
||||
Add_dependency full sed
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -Dm755 ${pkgname} ${DESTDIR}/usr/bin/${pkgname}
|
||||
install -Dm644 _${pkgname} ${DESTDIR}/usr/share/zsh/site-functions/_${pkgname}
|
||||
install -Dm644 ${FILESDIR}/${pkgname}.example \
|
||||
${DESTDIR}/usr/share/${pkgname}/${pkgname}.example
|
||||
sed -n '2,5p' ${pkgname} > LICENSE
|
||||
install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||||
vinstall ${pkgname} 755 usr/bin
|
||||
vinstall _${pkgname} 644 usr/share/zsh/site-functions
|
||||
vinstall ${FILESDIR}/${pkgname}.example 644 \
|
||||
usr/share/examples/${pkgname} ${pkgname}.conf.example
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue