lots of moving
This commit is contained in:
parent
e46f5d532a
commit
31d9629111
46 changed files with 0 additions and 0 deletions
32
extra/fish/build.sh
Normal file
32
extra/fish/build.sh
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgver=3.1.2
|
||||
pkgname=fish
|
||||
pkgrel=1
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/fish-shell/fish-shell/releases/download/3.1.2/fish-3.1.2.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 < ../../output_tputs_cast.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G Ninja .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_EXE_LINKER_FLAGS=-lterminfo \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||
samu
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR="$pkgdir/" samu install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue