Date: Friday, October 4, 2019 @ 06:25:25 Author: felixonmars Revision: 512672
archrelease: copy trunk to community-x86_64 Added: ponyc/repos/community-x86_64/PKGBUILD (from rev 512671, ponyc/trunk/PKGBUILD) Deleted: ponyc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-04 06:25:21 UTC (rev 512671) +++ PKGBUILD 2019-10-04 06:25:25 UTC (rev 512672) @@ -1,51 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=ponyc -pkgver=0.31.0 -pkgrel=1 -pkgdesc='An actor model, capabilities, high performance programming language' -url='https://ponylang.org/' -arch=('x86_64') -license=('BSD') -depends=('llvm7-libs') -makedepends=('llvm7') -checkdepends=('pcre2') -options=('!strip') -optdepends=('pcre2: Needed for the regex package') -source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz") -sha512sums=('6af446b726c53d5ec04de3824e81f0028fd2da097f86038485c35aca74883d04dffd4cc5bb7dde4a197b8ca64f186ac65d2e907ad3b7720c182536e0a915789b') - -prepare() { - cd ponyc-$pkgver - sed -i 's/-Werror //' Makefile -} - -build() { - cd ponyc-$pkgver - make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 - - mkdir docs - build/release/ponyc packages/stdlib -rexpr -g -o docs -} - -check() { - cd ponyc-$pkgver - make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 test -} - -package() { - cd ponyc-$pkgver - make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 ponydir=/usr/lib/pony/"$pkgver" DESTDIR="$pkgdir" install - - # Ponyc is designed to read its standard packages from the same directory. - install -dm755 "$pkgdir"/usr/bin - ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin - - # Let's include the examples as documentation is scarce. - install -dm755 "$pkgdir"/usr/share/doc/pony - cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony - - cp -dr docs/* "$pkgdir"/usr/share/doc/pony - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE -} Copied: ponyc/repos/community-x86_64/PKGBUILD (from rev 512671, ponyc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-04 06:25:25 UTC (rev 512672) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=ponyc +pkgver=0.32.0 +pkgrel=1 +pkgdesc='An actor model, capabilities, high performance programming language' +url='https://ponylang.org/' +arch=('x86_64') +license=('BSD') +depends=('llvm7-libs') +makedepends=('llvm7') +checkdepends=('pcre2') +options=('!strip') +optdepends=('pcre2: Needed for the regex package') +source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz") +sha512sums=('16fb61d952017e9c40dd2683fd7ca78b2da1cabbf813f16374b8ab080e28c8c0cd8fd284b9eacd8e05e828dbf1ab647d4d1970be5c7aafd8d2a7e8162e768bf0') + +prepare() { + cd ponyc-$pkgver + sed -i 's/-Werror //' Makefile +} + +build() { + cd ponyc-$pkgver + make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 + + mkdir docs + build/release/ponyc packages/stdlib -rexpr -g -o docs +} + +check() { + cd ponyc-$pkgver + make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 test +} + +package() { + cd ponyc-$pkgver + make config=release prefix=/usr arch=x86-64 verbose= default_pic=true default_ssl=openssl_1.1.0 ponydir=/usr/lib/pony/"$pkgver" DESTDIR="$pkgdir" install + + # Ponyc is designed to read its standard packages from the same directory. + install -dm755 "$pkgdir"/usr/bin + ln -sf /usr/lib/pony/"$pkgver"/bin/ponyc "$pkgdir"/usr/bin + + # Let's include the examples as documentation is scarce. + install -dm755 "$pkgdir"/usr/share/doc/pony + cp -dr --no-preserve=ownership examples "$pkgdir"/usr/share/doc/pony + + cp -dr docs/* "$pkgdir"/usr/share/doc/pony + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +}