Move config directory from /usr/etc to /etc and fixed tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: fish
|
name: fish
|
||||||
description: A smart and user-friendly command line shell
|
description: A smart and user-friendly command line shell
|
||||||
version: 3.7.1
|
version: 3.7.1
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://fishshell.com/
|
url: https://fishshell.com/
|
||||||
license: GPL2
|
license: GPL2
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ prepare() {
|
|||||||
build() {
|
build() {
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc ..
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ build() {
|
|||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
cd build
|
cd build
|
||||||
make check
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user