diff options
author | Paulo Matias | 2021-11-07 12:30:14 -0300 |
---|---|---|
committer | Paulo Matias | 2021-11-07 12:30:14 -0300 |
commit | 9d53c43cb97935592ce6c50f262579d90fd74ab5 (patch) | |
tree | c7da8f4251755bde0aabf9a2003f23feac6a2f61 | |
parent | 0e3ea264aca2498c65359c2217a686ecffafc4e6 (diff) | |
download | aur-9d53c43cb97935592ce6c50f262579d90fd74ab5.tar.gz |
split package here is not archy
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 5 insertions, 29 deletions
@@ -15,16 +15,8 @@ pkgbase = bluespec-git depends = haskell-syb depends = haskell-regex-compat depends = haskell-split + optdepends = tcl: bluesim and bluetcl source = git+https://github.com/b-lang-org/bsc.git sha256sums = SKIP pkgname = bluespec-git - optdepends = tcl: bluesim and bluetcl - -pkgname = bluespec-vimfiles-git - pkgdesc = Bluespec vim files - depends = - -pkgname = bluespec-docs-git - pkgdesc = Bluespec docs - depends = @@ -1,7 +1,7 @@ # Maintainer: Jiuyang Liu <liujiuyang1994@gmail.com> # Maintainer: Paulo Matias <matias@ufscar.br> -pkgname=(bluespec-git bluespec-vimfiles-git bluespec-docs-git) +pkgname=bluespec-git pkgver=r641.e330e11e pkgrel=1 pkgdesc='Bluespec Compiler (BSC)' @@ -10,6 +10,7 @@ url='https://github.com/B-Lang-org/bsc' license=('BSD') depends=('haskell-old-time' 'haskell-syb' 'haskell-regex-compat' 'haskell-split') makedepends=('git' 'gperf' 'ghc' 'tcl' 'texlive-latexextra' 'texlive-fontsextra') +optdepends=('tcl: bluesim and bluetcl') # workaround for pkgrel overwritten on regen (by TkG) # rebuild whenever some haskell depend is rebuilt eval pkgrel=$(pacman -Si ${depends[@]} | awk '/Version/{sum+=substr($0,match($0,/[^-]+$/))}END{print sum}') @@ -36,12 +37,10 @@ build(){ make install-doc } -package_bluespec-git() { - optdepends=('tcl: bluesim and bluetcl') - +package() { cd "$srcdir/bsc" install -d "${pkgdir}${_prefix}" - cp -dr --preserve=mode,timestamp ./inst/{bin,lib} "${pkgdir}${_prefix}" + cp -dr --preserve=mode,timestamp ./inst/* "${pkgdir}${_prefix}" install -d "${pkgdir}/usr/bin" local _prog @@ -51,22 +50,7 @@ package_bluespec-git() { done install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_bluespec-vimfiles-git() { - pkgdesc='Bluespec vim files' - depends=() - cd "$srcdir/bsc" install -d "${pkgdir}/usr/share/vim/vimfiles" cp -dr --preserve=mode,timestamp ./util/vim/{ftdetect,indent,syntax} "${pkgdir}/usr/share/vim/vimfiles" } - -package_bluespec-docs-git() { - pkgdesc='Bluespec docs' - depends=() - - cd "$srcdir/bsc" - install -d "${pkgdir}${_prefix}" - cp -dr --preserve=mode,timestamp ./inst/doc "${pkgdir}${_prefix}" -} |