mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Symlink to directories without the “-git” thing
This commit is contained in:
parent
384ae35cef
commit
c738e61847
2 changed files with 8 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = ryelang-git
|
||||
pkgdesc = Rye — a programming language trying to be flexible about expression, but strict about state (development version)
|
||||
pkgver = 0.0.84.r0.g8c56efd
|
||||
pkgver = 0.0.99.r10.g62b2e9e
|
||||
pkgrel = 1
|
||||
url = https://ryelang.org/
|
||||
install = ryelang-git.install
|
||||
|
|
|
|||
9
PKGBUILD
9
PKGBUILD
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
_pkgname='ryelang'
|
||||
pkgname="${_pkgname}-git"
|
||||
pkgver=0.0.84.r0.g8c56efd
|
||||
pkgver=0.0.99.r10.g62b2e9e
|
||||
pkgrel=1
|
||||
pkgdesc='Rye — a programming language trying to be flexible about expression, but strict about state (development version)'
|
||||
arch=('aarch64' 'x86_64')
|
||||
|
|
@ -69,10 +69,15 @@ package() {
|
|||
|
||||
# README and examples
|
||||
install -vDm0644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
|
||||
cp -vfa examples "$pkgdir/usr/share/doc/$pkgname/"
|
||||
cp -vfa examples "$pkgdir/usr/share/doc/$pkgname/"
|
||||
|
||||
# license
|
||||
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
|
||||
# Symlinks for convenience
|
||||
for _dir in doc licenses; do
|
||||
cd "$pkgdir/usr/share/$_dir" && ln -vsr "$pkgname" "$_pkgname"
|
||||
done
|
||||
}
|
||||
|
||||
# eof
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue