diff options
author | Kartik Mohta | 2017-06-02 19:45:29 -0400 |
---|---|---|
committer | Kartik Mohta | 2017-06-02 19:45:29 -0400 |
commit | 576a7991e1b90088f3783f4458964f497d8a16d9 (patch) | |
tree | 57c382f673ee64b2322896d0b935090151e8697a | |
parent | 324ca76ef18523bae01d0bae36ef9df38dc35941 (diff) | |
download | aur-576a7991e1b90088f3783f4458964f497d8a16d9.tar.gz |
Add conflicts and replaces for old package on AUR
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -14,9 +14,13 @@ pkgname = python-catkin_lint depends = depends = python depends = python-catkin_pkg + conflicts = python-catkin-lint + replaces = python-catkin-lint pkgname = python2-catkin_lint depends = depends = python2 depends = python2-catkin_pkg + conflicts = python2-catkin-lint + replaces = python2-catkin-lint @@ -28,12 +28,16 @@ build() { package_python-catkin_lint() { depends+=('python' 'python-catkin_pkg') + conflicts=('python-catkin-lint') + replaces=('python-catkin-lint') cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } package_python2-catkin_lint() { depends+=('python2' 'python2-catkin_pkg') + conflicts=('python2-catkin-lint') + replaces=('python2-catkin-lint') cd "${srcdir}/${_module}-${pkgver}-python2" python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |