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