diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -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 - @@ -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" } |