2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Magic kütüphanesi için python bağlantısı.
|
2017-06-30 21:43:57 +02:00
|
|
|
|
# URL: http://darwinsys.com/file/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yakar (aydin@komutan.org)
|
|
|
|
|
# Gerekler: python3 python3-setuptools
|
2017-06-30 21:43:57 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|