archlinux-pkgbuilds/mmv/PKGBUILD

35 lines
798 B
Text
Raw Normal View History

2016-05-30 11:56:50 +02:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
# Contributor: blue_lizard lizard@blue.dyn-o-saur.com
2011-05-18 14:56:37 +02:00
pkgname=mmv
2024-10-22 11:37:34 +02:00
pkgver=2.9.1
2024-10-02 17:23:03 +02:00
pkgrel=1
pkgdesc="multiple move files"
source=(
2024-10-02 17:23:03 +02:00
https://github.com/rrthomas/mmv/releases/download/v${pkgver}/mmv-${pkgver}.tar.gz
)
2024-10-22 11:37:34 +02:00
sha256sums=('7d18332e62a3ffb021121bd1bbad1e93183f36318206899bdf909a473275f3d0')
2011-05-18 14:56:37 +02:00
2024-10-02 17:23:03 +02:00
url="https://github.com/rrthomas/mmv"
license=(GPL-2.0-or-later)
2011-05-18 14:56:37 +02:00
install=$pkgname.install
arch=('i686' 'x86_64')
2016-05-30 11:56:50 +02:00
prepare() {
2011-05-18 14:56:37 +02:00
cd "${srcdir}/$pkgname-$pkgver"
2024-10-02 17:23:03 +02:00
./configure --prefix /usr
2016-05-30 11:56:50 +02:00
}
build() {
cd "${srcdir}/$pkgname-$pkgver"
2011-05-18 14:56:37 +02:00
make
}
package(){
cd "${srcdir}/$pkgname-$pkgver"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/man/man1"
make DESTDIR="${pkgdir}" install
chmod 644 "${pkgdir}/usr/share/man/man1/mmv.1"
}