Update package version to 2.8.14
This commit is contained in:
@@ -1,11 +1,24 @@
|
|||||||
name: enchant
|
name: enchant
|
||||||
description: Spelling library wrapper with consistent interface
|
description: Spelling library wrapper with consistent interface
|
||||||
version: 2.8.12
|
version: 2.8.14
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://rrthomas.github.io/enchant/
|
url: https://rrthomas.github.io/enchant/
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc-libs", "glib", "glibc"]
|
|
||||||
optional_depends: ["aspell"]
|
|
||||||
make_depends: ["aspell","aspell-en", "vala", "unittest-cpp"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- gcc-libs
|
||||||
|
- glib
|
||||||
|
- glibc
|
||||||
|
optional_depends:
|
||||||
|
- aspell
|
||||||
|
make_depends:
|
||||||
|
- aspell
|
||||||
|
- aspell-en
|
||||||
|
- vala
|
||||||
|
- unittest-cpp
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/rrthomas/enchant/releases/download/v${BPM_PKG_VERSION}/enchant-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: d04588769399ff7140fa214b9731e6fc6eda9bb2e75df9f67263717710bb4c4b
|
||||||
|
|||||||
@@ -2,21 +2,14 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/rrthomas/enchant/releases/download/v${BPM_PKG_VERSION}/enchant-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr --disable-static --enable-relocatable
|
./configure --prefix=/usr --disable-static --enable-relocatable
|
||||||
|
|
||||||
|
# Prevent overlinking due to libtool
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,5 +24,6 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/enchant/COPYING.LIB
|
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/enchant/COPYING.LIB
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user