summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0c0c269681dca07f4cae0338ee377c837cb9a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Sai Vishnu saivishnu725@gmail.com
pkgname='unzip_all'
pkgver=1
pkgrel=1
pkgdesc="A tool to unzip all the .zip files in the current working directory. "
arch=('x86_64')
url="https://github.com/saivishnu725/unzip_all"
license=('GPL')
depends=('unzip' 'bash' 'bzip2')
makedepends=('gcc' 'git')
#source=('unzip_all::git://github.com/saivishnu725/unzip_all.git')
# The above one didn't work ( stuck at the cloning step for ages ) for some reason 
source=('https://github.com/saivishnu725/unzip_all/archive/refs/heads/master.zip')
#noextract=()
md5sums=('SKIP')

prepare()
{
    mv ${srcdir}/${pkgname}-master ${srcdir}/${pkgname}
}

build() {
	cd "$pkgname"
    gcc unzip_all.c -o unzip_all 
}

package() {
	cd "$pkgname"
    install -Dm755 ./unzip_all "$pkgdir/usr/bin/unzip_all"
}