Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 289 Bytes
#!/usr/bin/env src2pkg-ng
NAME="$(basename "$1" | cut -d "-" -f 1)"
VERSION="$(basename "$1" | cut -d "-" -f 1)"
BUILD="$(basename "$1" | cut -d "-" -f 1)"
main() {
rm -rf "$(basename "$1" ".rpm")"
mkdir "$(basename "$1" ".rpm")"
unpack_archive "$1" "$(basename "$1" ".rpm")"
}