Update package version to 2.8.14
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
name: enchant
|
||||
description: Spelling library wrapper with consistent interface
|
||||
version: 2.8.12
|
||||
revision: 2
|
||||
version: 2.8.14
|
||||
revision: 1
|
||||
url: https://rrthomas.github.io/enchant/
|
||||
license: LGPL2.1-or-later
|
||||
architecture: any
|
||||
depends: ["gcc-libs", "glib", "glibc"]
|
||||
optional_depends: ["aspell"]
|
||||
make_depends: ["aspell","aspell-en", "vala", "unittest-cpp"]
|
||||
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 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
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
./configure --prefix=/usr --disable-static --enable-relocatable
|
||||
|
||||
# Prevent overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
@@ -31,5 +24,6 @@ check() {
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/enchant/COPYING.LIB
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user