mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
nona: fix the binary can't read doc
This commit is contained in:
parent
c1f1ba17ee
commit
7a63c054b8
3 changed files with 10 additions and 18 deletions
|
@ -12,7 +12,9 @@ license=('custom')
|
|||
source=("http://www.lillo.org.ar/phylogeny/Nona-PeeWee/nona-linux.tar.gz")
|
||||
sha256sums=('40698b797a3d58707521dd3cea0ebdf3f80ff5c1075382f98b81860fc426de69')
|
||||
prepare() {
|
||||
chmod +x $srcdir/nona
|
||||
cd $srcdir
|
||||
echo -e '#!/bin/bash\n/usr/share/nona/nona' > shell-$pkgname
|
||||
chmod +x shell-$pkgname
|
||||
}
|
||||
package() {
|
||||
# install dir
|
||||
|
@ -20,7 +22,7 @@ package() {
|
|||
# install them
|
||||
install -Dm755 $srcdir/piwe.doc $pkgdir/usr/share/$pkgname/piwe.doc
|
||||
install -Dm755 $srcdir/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
|
||||
install -Dm755 $srcdir/shell-$pkgname $pkgdir/usr/bin/$pkgname
|
||||
# link
|
||||
ln -s /usr/share/$pkgname/piwe.doc $pkgdir/usr/share/doc/$pkgname/piwe.doc
|
||||
ln -s /usr/share/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
update_aur_repo()
|
|
@ -2,11 +2,12 @@ build_prefix: multilib
|
|||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
#pre_build_script: aur_pre_build(maintainers='malacology')
|
||||
#post_build: aur_post_build
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
||||
update_on:
|
||||
- source: cmd
|
||||
cmd: curl -sS https://www.lillo.org.ar/phylogeny/Nona-PeeWee/ | grep 'linux' | sed 's@-@.@g' | awk '{print $7}'
|
||||
#update_on:
|
||||
# - source: aur
|
||||
# aur: nona
|
||||
|
|
Loading…
Add table
Reference in a new issue