summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathan Tremesaygues2020-01-19 13:59:08 +0100
committerJonathan Tremesaygues2020-01-19 13:59:08 +0100
commit0c0b25f300ce5643ec5a1ec734725fe9a780d59e (patch)
tree95b2dc0f72041bdca6199fb174256ba214d3582a /PKGBUILD
parentd8926025d623f450365be971f228b4a1fccb019a (diff)
downloadaur-0c0b25f300ce5643ec5a1ec734725fe9a780d59e.tar.gz
version bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 15 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b3153210cd5..f044b5cd28b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonathan Tremesaygues <killruana@slaanesh.org>
pkgname=magic-git
-pkgver=r646.594fc58
+pkgver=8.2.r646.594fc58
pkgrel=1
pkgdesc="A VLSI layout system"
url="http://opencircuitdesign.com/magic/"
@@ -18,26 +18,25 @@ source=("git://opencircuitdesign.com/magic#branch=magic-8.2")
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/${pkgname%-git}"
-
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/${pkgname%-git}"
+ printf "8.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/${pkgname%-git}"
- ./configure --prefix=/usr
- make
+ cd "$srcdir/${pkgname%-git}"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$srcdir/${pkgname%-git}"
- make -j1 DESTDIR="$pkgdir" MANDIR=/usr/share/man install
- install -d "$pkgdir/usr/share/licenses/$pkgname"
- if [ -x /usr/bin/ps2ascii ]; then
- /usr/bin/ps2ascii "$pkgdir/usr/lib/magic/doc/copyright.ps" > "$pkgdir/usr/share/licenses/$pkgname/copyright"
- else
- install -m644 "$pkgdir/usr/lib/magic/doc/copyright.ps" "$pkgdir/usr/share/licenses/magic"
- fi
- mv "$pkgdir/usr/share/man/man1/extcheck.1" "$pkgdir/usr/share/man/man1/extcheck-magic.1"
+ cd "$srcdir/${pkgname%-git}"
+ make -j1 DESTDIR="$pkgdir" MANDIR=/usr/share/man install
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ if [ -x /usr/bin/ps2ascii ]; then
+ /usr/bin/ps2ascii "$pkgdir/usr/lib/magic/doc/copyright.ps" > "$pkgdir/usr/share/licenses/$pkgname/copyright"
+ else
+ install -m644 "$pkgdir/usr/lib/magic/doc/copyright.ps" "$pkgdir/usr/share/licenses/magic"
+ fi
+ mv "$pkgdir/usr/share/man/man1/extcheck.1" "$pkgdir/usr/share/man/man1/extcheck-magic.1"
}