summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 22 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 25d583ef1ec..d88acc899ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,37 +3,36 @@
pkgname=latin-words
pkgver=1.97FC
pkgrel=4
-pkgdesc="Latin-english-latin intelligent dictionary and latin text analyser"
+pkgdesc="William Whitaker's Latin-English-Latin intelligent dictionary and Latin text analyser."
arch=("i686" "x86_64")
-url="http://users.erols.com/whitaker/words.htm"
+url="http://archives.nd.edu/whitaker/words.htm"
license=('custom')
makedepends=('gcc-ada' 'unzip')
provides=("wordslatin")
conflicts=("wordslatin")
source=("http://archives.nd.edu/whitaker/wordsall.zip" "words.sh" "license.txt")
-md5sums=('e70ae2112bb7c7c491c3ec7a57af779c' 'a8a9a0b6dd56aacaeefaa7e1bd8077c8'\
- '43cc5e098f51e02401d2a140cb8a6796')
+sha256sums=('592134d7602879e0937b6f977a6f63aa1d14b813edaf6de04a1d8596a9a2c18e'
+ 'bb28ad17c88c697be157660ef9f6cd60895e77307317bcd417e269054b206b30'
+ 'd56ae6b06a2707b497f6f52b0bd6b15784bdba45586cc3e8bec789e14e025d99')
build() {
- cd $srcdir
- unzip -quo wordsall || return 1
- gnatmake -O3 words || return 1
- gnatmake makedict && echo "g" | ./makedict || return 1
- gnatmake makestem && echo "g" | ./makestem || return 1
- gnatmake makeefil && ./makeefil || return 1
- gnatmake makeinfl && ./makeinfl || return 1
+ cd "$srcdir"
+ unzip -quo wordsall
+ gnatmake -O3 words
+ gnatmake makedict && echo "g" | ./makedict
+ gnatmake makestem && echo "g" | ./makestem
+ gnatmake makeefil && ./makeefil
+ gnatmake makeinfl && ./makeinfl
}
+
package() {
- cd $srcdir
- install -D words $pkgdir/usr/share/words-$pkgver/words || return 1
- install -m644 ADDONS.LAT DICTFILE.GEN EWDSFILE.GEN INDXFILE.GEN \
- INFLECTS.SEC STEMFILE.GEN UNIQUES.LAT \
- $pkgdir/usr/share/words-$pkgver/ || return 1
- install -Dm644 wordsdoc.htm \
- $pkgdir/usr/share/doc/words-$pkgver/wordsdoc.htm || return 1
- install -D words.sh $pkgdir/usr/bin/words || return 1
- sed -s "s/PKGNAME/words/" -i $pkgdir/usr/bin/words || return 1
- sed -s "s/PKGVER/$pkgver/" -i $pkgdir/usr/bin/words || return 1
- install -Dm644 license.txt \
- $pkgdir/usr/share/licenses/latin-words/LICENSE || return 1
+ cd "$srcdir"
+ install -D words "$pkgdir/usr/share/words-$pkgver/words"
+ install -m644 ADDONS.LAT DICTFILE.GEN EWDSFILE.GEN INDXFILE.GEN \
+ INFLECTS.SEC STEMFILE.GEN UNIQUES.LAT \
+ "$pkgdir/usr/share/words-$pkgver/"
+ install -Dm644 wordsdoc.htm "$pkgdir/usr/share/doc/words-$pkgver/wordsdoc.htm"
+ install -D words.sh "$pkgdir/usr/bin/words"
+ sed -i -s "s/PKGVER/$pkgver/" -i "$pkgdir/usr/bin/words"
+ install -Dm644 license.txt "$pkgdir/usr/share/licenses/latin-words/LICENSE"
}