diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" } |