summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChih-Hsuan Yen2018-05-29 13:22:33 +0800
committerChih-Hsuan Yen2018-05-29 13:22:33 +0800
commit4699714c6c1e73d70bbba8bff9bdc81f3921ce94 (patch)
tree5d5447486d6194c1252cc434946d4796692119dc /PKGBUILD
parentbd0c27f456bbeb8142ac30c5a97ae95737e4e1af (diff)
downloadaur-4699714c6c1e73d70bbba8bff9bdc81f3921ce94.tar.gz
bump to 2.5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 536183c2d54..369f0aecf36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
+_ver=2.5.0
pkgname=macports-base
-pkgver=2.5.0_beta1
+pkgver=${_ver/-/}
pkgrel=1
+epoch=1
pkgdesc='The MacPorts command-line client'
url='https://www.macports.org/'
arch=('i686' 'x86_64')
@@ -17,8 +19,8 @@ makedepends=('tcl' 'rsync')
optdepends=(
'rsync: for syncing sources via rsync'
)
-source=("https://github.com/macports/macports-base/releases/download/v${pkgver/_/-}/MacPorts-${pkgver/_/-}.tar.bz2"{,.asc})
-sha256sums=('6cb15500d60c72e5356933a9db8de2bd037ec93a88873ce1ded0c900fd7d6caa'
+source=("https://github.com/macports/macports-base/releases/download/v$_ver/MacPorts-$_ver.tar.bz2"{,.asc})
+sha256sums=('361d2230ee8f6bb6dc9bf5d2f7a72371c67f596c71a203c56635b730fe057083'
'SKIP')
validpgpkeys=(
'C403793657236DCF2E580C0201FF673FB4AAE6CD'
@@ -30,14 +32,14 @@ backup=(opt/local/etc/macports/archive_sites.conf
opt/local/etc/macports/variants.conf)
build() {
- cd "MacPorts-${pkgver/_/-}"
+ cd "MacPorts-$_ver"
./configure --enable-readline
make
}
package() {
- cd "MacPorts-${pkgver/_/-}"
+ cd "MacPorts-$_ver"
make DESTDIR="$pkgdir" install
install -Ddm755 "$pkgdir/usr/share/licenses/$pkgname"