Date: Thursday, January 31, 2019 @ 01:56:54 Author: kkeen Revision: 428685
archrelease: copy trunk to community-x86_64 Added: racket/repos/community-x86_64/PKGBUILD (from rev 428684, racket/trunk/PKGBUILD) Deleted: racket/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 144 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-31 01:56:34 UTC (rev 428684) +++ PKGBUILD 2019-01-31 01:56:54 UTC (rev 428685) @@ -1,72 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Eric Bélanger <e...@archlinux.org> - -pkgbase=racket -pkgname=(racket racket-minimal) -pkgver=7.1 -pkgrel=1 -pkgdesc="A full-spectrum language with DrRacket IDE. Formerly known as PLT Scheme." -arch=('x86_64') -url="http://racket-lang.org/" -license=('GPL3' 'LGPL3' 'custom') -depends=('gtk3') -makedepends=('gsfonts' 'sqlite') -options=('!strip' '!emptydirs') -conflicts=('racket-docs') -replaces=('racket-docs') -source=("http://download.racket-lang.org/installers/${pkgver}/${pkgname}-${pkgver}-src.tgz") -# "https://mirror.racket-lang.org/installers/${pkgver}/racket-minimal-${pkgver}-src.tgz" -sha1sums=('2277a2fc65c5376d0a45eb8b1ad93ae7ef88e437') - -prepare() { - cd "$pkgbase-$pkgver" - echo "Icon=drracket" >> share/pkgs/drracket/drracket/drracket.desktop -} - -build() { - cd "$pkgbase-$pkgver/src" - [ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC" - ./configure --prefix=/usr --sysconfdir=/etc --enable-shared - make -} - -package_racket() { - cd "$pkgbase-$pkgver/src" - make DESTDIR="$pkgdir" install - install -Dm644 COPYING-libscheme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - install -Dm644 ../share/pkgs/drracket/drracket/drracket.desktop "$pkgdir/usr/share/applications/drracket.desktop" - install -d "$pkgdir"/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps - ln -s /usr/share/racket/pkgs/icons/plt-16x16.png "$pkgdir/usr/share/icons/hicolor/16x16/apps/drracket.png" - ln -s /usr/share/racket/pkgs/icons/plt-32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/drracket.png" - ln -s /usr/share/racket/pkgs/icons/plt-48x48.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/drracket.png" - ln -s /usr/share/racket/pkgs/icons/plt-logo-red-diffuse.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/drracket.png" -} - -package_racket-minimal() { - pkgdesc="Minimal Racket installation, without DrRacket/docs." - depends=('libffi') - conflicts=('racket') - provides=('racket') - replaces=() - - # The -minimal tarball uses the SAME extract path. - # 99% identical sources anyway, manually apply the difference. - # Thankfully these builds happen in the given order - # so we can save some time and reuse the previous build. - cd "$pkgbase-$pkgver" - echo '((root "pkgs/racket-lib"))' > share/links.rktd - _libhash=$(grep -oP '\("racket-lib".*?#f\)\)' share/pkgs/pkgs.rktd) - echo "#hash($_libhash)" > share/pkgs/pkgs.rktd - cd share/pkgs - find . -not -name '.' -not -name '*pkgs.rktd' -not -regex '.*/racket-lib.*' -delete - cd ../../src - - make DESTDIR="${pkgdir}" install - - find "$pkgdir/usr/share/doc/" -delete - install -d "$pkgdir/usr/share/doc/racket/" - touch "$pkgdir/usr/share/doc/racket/docindex.sqlite" # FS#60413 - - install -Dm644 COPYING-libscheme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: racket/repos/community-x86_64/PKGBUILD (from rev 428684, racket/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-31 01:56:54 UTC (rev 428685) @@ -0,0 +1,72 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Eric Bélanger <e...@archlinux.org> + +pkgbase=racket +pkgname=(racket racket-minimal) +pkgver=7.2 +pkgrel=1 +pkgdesc="A full-spectrum language with DrRacket IDE. Formerly known as PLT Scheme." +arch=('x86_64') +url="http://racket-lang.org/" +license=('GPL3' 'LGPL3' 'custom') +depends=('gtk3') +makedepends=('gsfonts' 'sqlite') +options=('!strip' '!emptydirs') +conflicts=('racket-docs') +replaces=('racket-docs') +source=("http://download.racket-lang.org/installers/${pkgver}/${pkgname}-${pkgver}-src.tgz") +# "https://mirror.racket-lang.org/installers/${pkgver}/racket-minimal-${pkgver}-src.tgz" +sha1sums=('01c38f6d35f9866480a79a00fbd6c9a9a2459a82') + +prepare() { + cd "$pkgbase-$pkgver" + echo "Icon=drracket" >> share/pkgs/drracket/drracket/drracket.desktop +} + +build() { + cd "$pkgbase-$pkgver/src" + [ "$CARCH" == "x86_64" ] && export CFLAGS+=" -fPIC" + ./configure --prefix=/usr --sysconfdir=/etc --enable-shared + make +} + +package_racket() { + cd "$pkgbase-$pkgver/src" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING-libscheme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + install -Dm644 ../share/pkgs/drracket/drracket/drracket.desktop "$pkgdir/usr/share/applications/drracket.desktop" + install -d "$pkgdir"/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps + ln -s /usr/share/racket/pkgs/icons/plt-16x16.png "$pkgdir/usr/share/icons/hicolor/16x16/apps/drracket.png" + ln -s /usr/share/racket/pkgs/icons/plt-32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/drracket.png" + ln -s /usr/share/racket/pkgs/icons/plt-48x48.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/drracket.png" + ln -s /usr/share/racket/pkgs/icons/plt-logo-red-diffuse.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/drracket.png" +} + +package_racket-minimal() { + pkgdesc="Minimal Racket installation, without DrRacket/docs." + depends=('libffi') + conflicts=('racket') + provides=('racket') + replaces=() + + # The -minimal tarball uses the SAME extract path. + # 99% identical sources anyway, manually apply the difference. + # Thankfully these builds happen in the given order + # so we can save some time and reuse the previous build. + cd "$pkgbase-$pkgver" + echo '((root "pkgs/racket-lib"))' > share/links.rktd + _libhash=$(grep -oP '\("racket-lib".*?#f\)\)' share/pkgs/pkgs.rktd) + echo "#hash($_libhash)" > share/pkgs/pkgs.rktd + cd share/pkgs + find . -not -name '.' -not -name '*pkgs.rktd' -not -regex '.*/racket-lib.*' -delete + cd ../../src + + make DESTDIR="${pkgdir}" install + + find "$pkgdir/usr/share/doc/" -delete + install -d "$pkgdir/usr/share/doc/racket/" + touch "$pkgdir/usr/share/doc/racket/docindex.sqlite" # FS#60413 + + install -Dm644 COPYING-libscheme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}