forked from pool/obs-service-tar_scm
* check name/version option in obsinfo for slashes * check url for remote url * check symlinks in subdir parameter * check filename for slashes * disable follow_symlinks in extract feature * run download_files in appimage and snapcraft case * check --extract file path for parent dir * changed os.removedirs -> shutil.rmtree * Adding information regarding the *package-metadata* option for the *tar* service The tar service is highly useful in combination with the *obscpio* service. After the fix for the metadata for the latter one, it is important to inform the users of the *tar* service that metadata is kept only if the flag *package-metadata* is enabled. Add the flag to the .service file for mentioning that. * Allow metadata packing for CPIO archives when desired As of now, metadata are always excluded from *obscpio* packages. This is because the *package-metadata* flag is ignored; this change (should) make *obscpio* aware of it. * Fix parameter descriptions OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=210
20 lines
699 B
Bash
20 lines
699 B
Bash
pkgname=obs-service-tar_scm
|
|
pkgver=0.9.2.1537788075.fefaa74
|
|
pkgrel=0
|
|
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
|
|
arch=('any')
|
|
url="https://github.com/openSUSE/obs-service-tar_scm"
|
|
license=('GPL3')
|
|
groups=('base-devel')
|
|
makedepends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-lxml' 'python2-mock' 'python2-unittest2' 'bzr' 'git' 'mercurial' 'subversion' )
|
|
depends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-argparse' 'cpio' 'git' 'bzr' 'mercurial' 'subversion' )
|
|
source=("obs-service-tar_scm-${pkgver}.tar.gz")
|
|
provides=('obs-service-tar')
|
|
sha256sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" PREFIX=/usr install
|
|
}
|
|
|