diff options
author | willemw12 | 2021-06-25 16:46:25 +0200 |
---|---|---|
committer | willemw12 | 2021-06-25 16:46:25 +0200 |
commit | 7213dc104d90e7e87502e5eb66cc3566fb1317a0 (patch) | |
tree | 6d0347e9c38f8b0611a9a6ffb6a3af89040fa378 | |
parent | ae39f5aa01409b25355ad8ceeb5e07446a3af1ed (diff) | |
download | aur-7213dc104d90e7e87502e5eb66cc3566fb1317a0.tar.gz |
Remove ncurses and pcre
Change "install -D".
Change pkgver().
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 9 deletions
@@ -8,13 +8,10 @@ pkgbase = vimpc-git makedepends = boost makedepends = git depends = libmpdclient - depends = ncurses - depends = pcre depends = taglib provides = vimpc conflicts = vimpc source = vimpc-git::git+https://github.com/boysetsfrog/vimpc.git - md5sums = SKIP + sha256sums = SKIP pkgname = vimpc-git - @@ -10,15 +10,14 @@ url="https://github.com/boysetsfrog/vimpc" license=('GPL3') #makedepends=('git') makedepends=('boost' 'git') -depends=('libmpdclient' 'ncurses' 'pcre' 'taglib') +depends=('libmpdclient' 'taglib') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("$pkgname::git+$url.git") -md5sums=('SKIP') +sha256sums=('SKIP') pkgver() { - cd $pkgname - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git -C $pkgname describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -30,7 +29,7 @@ build() { package() { cd $pkgname - install -Dm644 doc/vimpcrc.example "$pkgdir/usr/share/doc/vimpc/vimpcrc.example" + install -Dm644 doc/vimpcrc.example -t "$pkgdir/usr/share/doc/vimpc" make DESTDIR="$pkgdir/" install } |