archrelease: copy trunk to community-any
[ArchLinux/community.git] / ucblogo / repos / community-x86_64 / PKGBUILD
blobe7060c8587ad0c303078be5417cc730d945574e6
1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: chiku <chirantan.mitra@gmail.com>
4 pkgname=ucblogo
5 pkgver=6.2.4
6 pkgrel=1
7 pkgdesc='Interpreter for the Logo programming language'
8 url='https://www.cs.berkeley.edu/~bh/logo.html'
9 arch=(x86_64)
10 license=(GPL)
11 makedepends=(git texinfo texlive-bin texlive-core)
12 depends=(libice libsm libx11 ncurses wxwidgets-gtk3)
13 source=(configure.patch
14         "$pkgname::git+https://github.com/jrincayc/ucblogo-code#commit=1eaef7d69d4c5c8c577d7de451cb96ef03fa9756") # tag: version_6.2.4
15 b2sums=('609a8a2304d6867a83a581dfa8065c05c6847c0983a29fce39efdfc18cfecfeca54989937f472c4339b2bc7fa4bce51951083d2d48b33614bf751dc67abd0e61'
16         'SKIP')
18 prepare() {
19   cd $pkgname
20   patch -p1 -i ../configure.patch
21   autoreconf -i
24 build() {
25   cd $pkgname
26   ./configure \
27     --enable-docs \
28     --prefix=/usr
29   make
32 package() {
33   make -C $pkgname \
34     DESTDIR="$pkgdir" \
35     INFODIR="$pkgdir/usr/share/info" \
36     install