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
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=python3-magic
|
|
|
|
|
surum=5.29
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(ftp://ftp.astron.com/pub/file/file-${surum}.tar.gz)
|
2017-06-30 21:43:57 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "${SRC}/file-${surum}/python"
|
2017-06-30 21:43:57 +02:00
|
|
|
|
python3 setup.py install --root="${PKG}" --optimize=1
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm0644 "${SRC}/file-${surum}/COPYING" "${PKG}/usr/share/licenses/${isim}/COPYING"
|
2017-06-30 21:43:57 +02:00
|
|
|
|
}
|