summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12023-04-06 15:09:05 +0800
committerChocobo12023-04-06 15:09:05 +0800
commite53e2c5521f8bb5f7172cb75aff9f14b3660a2e4 (patch)
tree1f993d2f8aab7783121c310f247b2f0fc353d9cc
parent78467cebaef00c53b898220a85f2cfbfa9875168 (diff)
downloadaur-astyle-svn.tar.gz
upgpkg: astyle-svn r672-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5512bf4516f0..1b6a60afab45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = astyle-svn
pkgdesc = A free, fast, and small automatic code formatter
pkgver = r672
- pkgrel = 1
+ pkgrel = 2
url = http://astyle.sourceforge.net/
arch = i686
arch = x86_64
license = MIT
makedepends = subversion
depends = gcc-libs
- provides = astyle
+ provides = astyle=r672
conflicts = astyle
options = staticlibs
source = svn+https://svn.code.sf.net/p/astyle/code/trunk
sha256sums = SKIP
pkgname = astyle-svn
-
diff --git a/PKGBUILD b/PKGBUILD
index 3486b8b45d72..30317adf74dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=astyle-svn
pkgver=r672
-pkgrel=1
+pkgrel=2
pkgdesc="A free, fast, and small automatic code formatter"
arch=('i686' 'x86_64')
url="http://astyle.sourceforge.net/"
license=('MIT')
depends=('gcc-libs')
makedepends=('subversion')
-provides=('astyle')
+provides=("astyle=$pkgver")
conflicts=('astyle')
options=('staticlibs')
source=("svn+https://svn.code.sf.net/p/astyle/code/trunk")
@@ -32,7 +32,7 @@ build() {
package() {
cd "trunk/AStyle/build/gcc"
- install -Dm755 "bin/astyle" "$pkgdir/usr/bin/astyle"
+ install -Dm755 "bin/astyle" -t "$pkgdir/usr/bin"
install -d -m755 "$pkgdir/usr/lib"
install -m755 "bin"/libastyle.so.* "$pkgdir/usr/lib"
@@ -41,5 +41,5 @@ package() {
install -d -m755 "$pkgdir/usr/share/doc/astyle"
install -m644 "../../doc"/* "$pkgdir/usr/share/doc/astyle"
- install -Dm644 "../../LICENSE.md" "$pkgdir/usr/share/licenses/astyle/LICENSE.md"
+ install -Dm644 "../../LICENSE.md" -t "$pkgdir/usr/share/licenses/astyle"
}