diff options
author | Knight | 2015-10-26 16:12:23 +0800 |
---|---|---|
committer | Knight | 2015-10-26 16:13:18 +0800 |
commit | e78055c7184b01a4293fa2cbf3380aa0fd1e899b (patch) | |
tree | 84ac0f5842e4d0c27e5e5f2e1f07c43cc95dd579 | |
download | aur-e78055c7184b01a4293fa2cbf3380aa0fd1e899b.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee2c793c6145 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = digilent.adept.utilities + pkgdesc = The Adept configuration tools + pkgver = 2.2.1 + pkgrel = 1 + url = http://www.digilentinc.com/Products/Detail.cfm?Prod=ADEPT2 + arch = x86_64 + arch = i686 + license = custom + depends = digilent.adept.runtime + options = !strip + source_x86_64 = http://www.digilentinc.com/Data/Products/ADEPT2/digilent.adept.utilities_2.2.1-amd64.deb + md5sums_x86_64 = cca4cfc00fa8134b7402b28d2c9db115 + source_i686 = http://www.digilentinc.com/Data/Products/ADEPT2/digilent.adept.utilities_2.2.1-i386.deb + md5sums_i686 = a882a81ece4e1e384dc99c970c237c6d + +pkgname = digilent.adept.utilities + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..208874ff0804 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Knight <anonymousknight96 AT gmail.com> + +pkgname=digilent.adept.utilities +pkgver='2.2.1' +pkgrel=1 +pkgdesc="The Adept configuration tools" +arch=('x86_64' 'i686') +url=('http://www.digilentinc.com/Products/Detail.cfm?Prod=ADEPT2') +license=('custom') +depends=('digilent.adept.runtime') +options=('!strip') +source_x86_64=("http://www.digilentinc.com/Data/Products/ADEPT2/${pkgname}_${pkgver}-amd64.deb") +source_i686=("http://www.digilentinc.com/Data/Products/ADEPT2/${pkgname}_${pkgver}-i386.deb") +md5sums_x86_64=('cca4cfc00fa8134b7402b28d2c9db115') +md5sums_i686=('a882a81ece4e1e384dc99c970c237c6d') + +package(){ + tar -xzf data.tar.gz --exclude="usr/share/lintian" -C "${pkgdir}"/ + + [ -d "${pkgdir}"/usr/lib64 ] && mv "${pkgdir}"/usr/{lib64,lib} + [ -d "${pkgdir}"/usr/sbin ] && mv "${pkgdir}"/usr/{sbin,bin} + + install -dm 755 "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s "/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright" + ln -s "/usr/share/doc/${pkgname}/EULA" "${pkgdir}/usr/share/licenses/${pkgname}/EULA" +} + |