Browse Source

initial transfer

master
artoo 9 months ago
parent
commit
d18e45d996
2 changed files with 70 additions and 0 deletions
  1. 35
    0
      enchant/repos/extra-x86_64/PKGBUILD
  2. 35
    0
      enchant/trunk/PKGBUILD

+ 35
- 0
enchant/repos/extra-x86_64/PKGBUILD View File

@@ -0,0 +1,35 @@
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=enchant
pkgver=2.2.3
pkgrel=2
pkgdesc="A wrapper library for generic spell checking"
arch=('x86_64')
url="https://abiword.github.io/enchant/"
license=('LGPL')
depends=('aspell' 'hunspell' 'hspell' 'libvoikko' 'glib2')
makedepends=('git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/AbiWord/enchant/archive/v$pkgver.tar.gz")
sha512sums=('a80bb41e5012eb16fd8c266f8a4c34f73e1ae90092377fb28859d2435269deeb6f673e6c1cbf9716a95a7103121a9e67fb88499b4affd83bfe513d7c149eb89c')

prepare() {
cd $pkgname-$pkgver
./bootstrap
}

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static \
--disable-ispell \
--with-myspell-dir=/usr/share/myspell
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}

+ 35
- 0
enchant/trunk/PKGBUILD View File

@@ -0,0 +1,35 @@
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=enchant
pkgver=2.2.3
pkgrel=2
pkgdesc="A wrapper library for generic spell checking"
arch=('x86_64')
url="https://abiword.github.io/enchant/"
license=('LGPL')
depends=('aspell' 'hunspell' 'hspell' 'libvoikko' 'glib2')
makedepends=('git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/AbiWord/enchant/archive/v$pkgver.tar.gz")
sha512sums=('a80bb41e5012eb16fd8c266f8a4c34f73e1ae90092377fb28859d2435269deeb6f673e6c1cbf9716a95a7103121a9e67fb88499b4affd83bfe513d7c149eb89c')

prepare() {
cd $pkgname-$pkgver
./bootstrap
}

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static \
--disable-ispell \
--with-myspell-dir=/usr/share/myspell
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}

Loading…
Cancel
Save