[arch-commits] Commit in uncrustify/repos (4 files)

Pierre Neidhardt ambrevar at archlinux.org
Mon Oct 17 01:22:50 UTC 2016


    Date: Monday, October 17, 2016 @ 01:22:49
  Author: ambrevar
Revision: 192405

archrelease: copy trunk to community-i686, community-x86_64

Added:
  uncrustify/repos/community-i686/PKGBUILD
    (from rev 192404, uncrustify/trunk/PKGBUILD)
  uncrustify/repos/community-x86_64/PKGBUILD
    (from rev 192404, uncrustify/trunk/PKGBUILD)
Deleted:
  uncrustify/repos/community-i686/PKGBUILD
  uncrustify/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   62 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   24 -----------------
 community-x86_64/PKGBUILD |   24 -----------------
 3 files changed, 62 insertions(+), 48 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-10-17 01:20:07 UTC (rev 192404)
+++ community-i686/PKGBUILD	2016-10-17 01:22:49 UTC (rev 192405)
@@ -1,24 +0,0 @@
-# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-
-pkgname=uncrustify
-pkgver=0.63
-pkgrel=1
-pkgdesc="A source code beautifier"
-arch=("i686" "x86_64")
-url="http://uncrustify.sourceforge.net/"
-license=("GPL")
-depends=("gcc-libs")
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('791ffa57ac6a301d16463c1a97c77c0c')
-
-build() {
-	cd "$srcdir/$pkgname-$pkgver"
-	./configure --prefix=/usr
-	make
-}
-
-package() {
-	cd "$srcdir/$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
-}

Copied: uncrustify/repos/community-i686/PKGBUILD (from rev 192404, uncrustify/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-10-17 01:22:49 UTC (rev 192405)
@@ -0,0 +1,31 @@
+# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=uncrustify
+pkgver=0.64
+pkgrel=1
+pkgdesc="A source code beautifier"
+arch=("i686" "x86_64")
+url="http://uncrustify.sourceforge.net/"
+license=("GPL")
+depends=("gcc-libs")
+makedepends=("cmake")
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('008904ca40d07c4b3d66c717d59cb65b')
+
+build() {
+	cd "$srcdir"
+	mkdir -p build
+	cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+	make
+}
+
+package() {
+	cd "$srcdir/build"
+	make DESTDIR="$pkgdir" PREFIX=/usr install
+
+	cd ..
+	install -d -m755 "$pkgdir"/usr/share/uncrustify
+	install -m644 etc/*.cfg "$pkgdir"/usr/share/uncrustify
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-10-17 01:20:07 UTC (rev 192404)
+++ community-x86_64/PKGBUILD	2016-10-17 01:22:49 UTC (rev 192405)
@@ -1,24 +0,0 @@
-# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
-
-pkgname=uncrustify
-pkgver=0.63
-pkgrel=1
-pkgdesc="A source code beautifier"
-arch=("i686" "x86_64")
-url="http://uncrustify.sourceforge.net/"
-license=("GPL")
-depends=("gcc-libs")
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('791ffa57ac6a301d16463c1a97c77c0c')
-
-build() {
-	cd "$srcdir/$pkgname-$pkgver"
-	./configure --prefix=/usr
-	make
-}
-
-package() {
-	cd "$srcdir/$pkgname-$pkgver"
-	make DESTDIR="$pkgdir" install
-}

Copied: uncrustify/repos/community-x86_64/PKGBUILD (from rev 192404, uncrustify/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-10-17 01:22:49 UTC (rev 192405)
@@ -0,0 +1,31 @@
+# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=uncrustify
+pkgver=0.64
+pkgrel=1
+pkgdesc="A source code beautifier"
+arch=("i686" "x86_64")
+url="http://uncrustify.sourceforge.net/"
+license=("GPL")
+depends=("gcc-libs")
+makedepends=("cmake")
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('008904ca40d07c4b3d66c717d59cb65b')
+
+build() {
+	cd "$srcdir"
+	mkdir -p build
+	cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+	make
+}
+
+package() {
+	cd "$srcdir/build"
+	make DESTDIR="$pkgdir" PREFIX=/usr install
+
+	cd ..
+	install -d -m755 "$pkgdir"/usr/share/uncrustify
+	install -m644 etc/*.cfg "$pkgdir"/usr/share/uncrustify
+}



More information about the arch-commits mailing list