milis/talimatname/genel/python3-magic/talimat

16 lines
482 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Magic kütüphanesi için python bağlantısı.
# URL: http://darwinsys.com/file/
# Packager: yakar (aydin@komutan.org)
# Depends on: python3 python3-setuptools
name=python3-magic
version=5.29
release=1
source=(ftp://ftp.astron.com/pub/file/file-${version}.tar.gz)
build() {
cd "${SRC}/file-${version}/python"
python3 setup.py install --root="${PKG}" --optimize=1
install -Dm0644 "${SRC}/file-${version}/COPYING" "${PKG}/usr/share/licenses/${name}/COPYING"
}