[arch-commits] Commit in astyle/repos (4 files)
Allan McRae
allan at archlinux.org
Sat Dec 5 15:23:19 UTC 2015
Date: Saturday, December 5, 2015 @ 16:23:18
Author: allan
Revision: 148472
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
astyle/repos/community-staging-i686/
astyle/repos/community-staging-i686/PKGBUILD
(from rev 148468, astyle/trunk/PKGBUILD)
astyle/repos/community-staging-x86_64/
astyle/repos/community-staging-x86_64/PKGBUILD
(from rev 148469, astyle/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: astyle/repos/community-staging-i686/PKGBUILD (from rev 148468, astyle/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-05 15:23:18 UTC (rev 148472)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Thomas Mader <thezema at gmail.com>
+# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+
+pkgname=astyle
+pkgver=2.05.1
+pkgrel=2
+pkgdesc='A free, fast and small automatic formatter for C, C++, C#, and Java source code.'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/astyle/'
+license=('LGPL')
+depends=('gcc-libs')
+source=("http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz")
+md5sums=('4142d178047d7040da3e0e2f1b030a1a')
+
+build() {
+ cd "$srcdir/$pkgname/build/gcc"
+ make release shared
+}
+
+package() {
+ cd "$srcdir/$pkgname/build/gcc"
+
+ install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
+ install -Dm0755 "bin/libastyle-${pkgver}.so" "$pkgdir/usr/lib/libastyle-${pkgver}.so"
+
+ # install documentation (implements FS#23290)
+ install -d "$pkgdir/usr/share/doc/$pkgname/"
+ for f in ../../doc/*.html; do
+ install -m0644 "$f" "$pkgdir/usr/share/doc/$pkgname/"
+ done
+}
Copied: astyle/repos/community-staging-x86_64/PKGBUILD (from rev 148469, astyle/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-05 15:23:18 UTC (rev 148472)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Thomas Mader <thezema at gmail.com>
+# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+
+pkgname=astyle
+pkgver=2.05.1
+pkgrel=2
+pkgdesc='A free, fast and small automatic formatter for C, C++, C#, and Java source code.'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/astyle/'
+license=('LGPL')
+depends=('gcc-libs')
+source=("http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz")
+md5sums=('4142d178047d7040da3e0e2f1b030a1a')
+
+build() {
+ cd "$srcdir/$pkgname/build/gcc"
+ make release shared
+}
+
+package() {
+ cd "$srcdir/$pkgname/build/gcc"
+
+ install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
+ install -Dm0755 "bin/libastyle-${pkgver}.so" "$pkgdir/usr/lib/libastyle-${pkgver}.so"
+
+ # install documentation (implements FS#23290)
+ install -d "$pkgdir/usr/share/doc/$pkgname/"
+ for f in ../../doc/*.html; do
+ install -m0644 "$f" "$pkgdir/usr/share/doc/$pkgname/"
+ done
+}
More information about the arch-commits
mailing list