[arch-commits] Commit in racket/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Apr 13 10:38:11 UTC 2021
Date: Tuesday, April 13, 2021 @ 10:38:10
Author: kkeen
Revision: 916975
archrelease: copy trunk to community-x86_64
Added:
racket/repos/community-x86_64/PKGBUILD
(from rev 916974, racket/trunk/PKGBUILD)
Deleted:
racket/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 140 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-13 10:37:54 UTC (rev 916974)
+++ PKGBUILD 2021-04-13 10:38:10 UTC (rev 916975)
@@ -1,71 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgbase=racket
-pkgname=(racket racket-minimal)
-pkgver=7.9
-pkgrel=2
-pkgdesc="A full-spectrum language with DrRacket IDE. Formerly known as PLT Scheme."
-arch=('x86_64')
-url="https://racket-lang.org/"
-license=('Apache' 'GPL3' 'LGPL3' 'custom')
-depends=('gtk3')
-makedepends=('gsfonts' 'sqlite')
-options=('!strip' '!emptydirs')
-conflicts=('racket-docs')
-replaces=('racket-docs')
-# 7.9 was updated in place with a bugfix :-(
-# remove the cache-busting custom name next release
-source=("racket-7.9-bugfix-src.tgz::https://download.racket-lang.org/installers/${pkgver}/${pkgname}-${pkgver}-src.tgz")
-# "https://mirror.racket-lang.org/installers/${pkgver}/racket-minimal-${pkgver}-src.tgz"
-sha1sums=('37847337ceb0515e282a348e2b93f099860a6bc0')
-
-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 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE*.txt
- install -Dm644 ../share/pkgs/drracket/drracket/drracket.desktop "$pkgdir/usr/share/applications/drracket.desktop"
- install -d "$pkgdir"/usr/share/icons/hicolor/scalable/apps
- ln -s /usr/share/racket/pkgs/icons/racket-logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/drracket.svg"
-}
-
-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 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE*.txt
-}
Copied: racket/repos/community-x86_64/PKGBUILD (from rev 916974, racket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-13 10:38:10 UTC (rev 916975)
@@ -0,0 +1,69 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=racket
+pkgname=(racket racket-minimal)
+pkgver=8.0
+pkgrel=1
+pkgdesc="A full-spectrum language with DrRacket IDE. Formerly known as PLT Scheme."
+arch=('x86_64')
+url="https://racket-lang.org/"
+license=('Apache' 'GPL3' 'LGPL3' 'custom')
+depends=('gtk3')
+makedepends=('gsfonts' 'sqlite')
+options=('!strip' '!emptydirs')
+conflicts=('racket-docs')
+replaces=('racket-docs')
+source=("https://download.racket-lang.org/installers/${pkgver}/${pkgname}-${pkgver}-src.tgz")
+# "https://mirror.racket-lang.org/installers/${pkgver}/racket-minimal-${pkgver}-src.tgz"
+sha1sums=('86e8509890dc0b38fe4f33b7534dbf28ab58a2a7')
+
+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 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE*.txt
+ install -Dm644 ../share/pkgs/drracket/drracket/drracket.desktop "$pkgdir/usr/share/applications/drracket.desktop"
+ install -d "$pkgdir"/usr/share/icons/hicolor/scalable/apps
+ ln -s /usr/share/racket/pkgs/icons/racket-logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/drracket.svg"
+}
+
+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 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE*.txt
+}
More information about the arch-commits
mailing list