Skip to content

Commit d9cccf0

Browse files
author
TobiichiAmane
committed
Add package stack-bin
1 parent ba8b04d commit d9cccf0

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

nvchecker.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2899,6 +2899,9 @@ aur =
28992899
[nautilus-typeahead]
29002900
aur =
29012901

2902+
[stack-bin]
2903+
aur =
2904+
29022905
# Xuanwo <[email protected]> {{{1
29032906
[zsh-completions-git]
29042907
github = zsh-users/zsh-completions

stack-bin/PKGBUILD

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Maintainer: Phil Ruffwind <[email protected]>
2+
pkgname=stack-bin
3+
pkgver=1.7.1
4+
pkgrel=1
5+
pkgdesc="The Haskell Tool Stack (tool only -- libraries not included)"
6+
arch=(i686 x86_64)
7+
url=https://hackage.haskell.org/package/stack
8+
license=(BSD3)
9+
depends=(gmp zlib)
10+
provides=(stack)
11+
conflicts=(stack)
12+
source_i686=(https://github.com/commercialhaskell/stack/releases/download/v$pkgver/stack-$pkgver-linux-i386.tar.gz)
13+
source_x86_64=(https://github.com/commercialhaskell/stack/releases/download/v$pkgver/stack-$pkgver-linux-x86_64.tar.gz)
14+
sha256sums_i686=('e14dae58ca1d888deaf52effac9b4a41f942338a95f8f0344d15154809e4641e')
15+
sha256sums_x86_64=('647306bbf65dd0b555486e2a32776ba1cfe0c8f380e31c6aa93abd452cb209ee')
16+
17+
package() {
18+
cd "$srcdir/stack-$pkgver-linux-"*/
19+
install -Dm755 stack "$pkgdir/usr/bin/stack"
20+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/stack/LICENSE"
21+
}

stack-bin/lilac.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env python3
2+
3+
from lilaclib import *
4+
5+
build_prefix = 'extra-x86_64'
6+
pre_build = aur_pre_build
7+
post_build = aur_post_build
8+
9+
if __name__ == '__main__':
10+
single_main()

0 commit comments

Comments
 (0)