[arch-commits] Commit in tcc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:59:17 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:59:17
  Author: felixonmars
Revision: 658312

archrelease: copy trunk to community-staging-x86_64

Added:
  tcc/repos/community-staging-x86_64/
  tcc/repos/community-staging-x86_64/PKGBUILD
    (from rev 658310, tcc/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: tcc/repos/community-staging-x86_64/PKGBUILD (from rev 658310, tcc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:59:17 UTC (rev 658312)
@@ -0,0 +1,38 @@
+# Maintainer: Robin Broda <robin at broda.me>
+# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
+# Contributor: dschauer <dschauerATgmailDOTcom>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Jeremy Cowgar <jeremy at cowgar.com>
+
+pkgname=tcc
+pkgver=0.9.27
+pkgrel=4
+pkgdesc="Tiny C Compiler"
+arch=('x86_64')
+url="https://bellard.org/tcc/"
+license=('LGPL')
+depends=('glibc')
+options=('docs' 'staticlibs')
+source=("https://download.savannah.nongnu.org/releases/tinycc/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('9cdb185555da76db90287db351ca40b8')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  unset CFLAGS
+  unset LDFLAGS
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+ make DESTDIR="$pkgdir" docdir="$pkgdir"/usr/share/doc/tcc install
+
+ make clean
+ make CFLAGS="-fPIC"
+ gcc -shared -o libtcc.so *.o
+ install -Dm755 libtcc.so -t "${pkgdir}/usr/lib/"
+}



More information about the arch-commits mailing list