Skip to content

Commit

Permalink
fix symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
Heptazhou committed Apr 2, 2024
1 parent dc532f6 commit 1c7a880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = iraf-bin
pkgdesc = IRAF - Image Reduction and Analysis Facility
pkgver = 2.17.1
pkgrel = 3
pkgrel = 4
url = https://github.com/iraf-community/iraf
arch = x86_64
license = custom
Expand Down
6 changes: 3 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ pkgname_=($pkgbase_{,-noao})
pkgname=(${pkgname_[@]/%/-bin})
debver=2.17.1-5
pkgver=2.17.1
pkgrel=3
pkgrel=4
pkgdesc="IRAF - Image Reduction and Analysis Facility"
arch=("x86_64")
url="https://github.com/iraf-community/$pkgbase_"
url_="https://deb.debian.org/debian/pool/main/i/$pkgbase_"
url_="https://deb.debian.org/debian/pool/main/${pkgbase_:0:1}/$pkgbase_"
license=("custom")
options=(!debug)
noextract=(${pkgname_[@]/%/_${debver}_amd64.deb})
Expand Down Expand Up @@ -54,7 +54,7 @@ package_iraf-noao-bin() {
cd -- "$srcdir/$pkgbase_-noao/"

mkdir "usr/share/licenses/" -p
ln -s "usr/share/licenses/$pkgbase_"{,-noao}
ln -s "usr/share/licenses/$pkgbase_"{,-noao} -r
rm -r "usr/share"/{"doc","lintian"} -f
cp -t "$pkgdir/" -a "usr"
}

0 comments on commit 1c7a880

Please sign in to comment.